Skip to content

Commit

Permalink
apply artifact pull secret
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Dec 13, 2024
1 parent 8a6f730 commit 79a4f21
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 36 deletions.
4 changes: 0 additions & 4 deletions openshift/templates/backend/backend-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,5 @@ objects:
forcePull: true
noCache: true
type: Source
triggers:
- imageChange: {}
type: ImageChange
- type: ConfigChange
status:
lastVersion: 0
19 changes: 5 additions & 14 deletions openshift/templates/cra/cra-bc-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,9 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile-Openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-pwpgbz
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-pwpgbz
key: password
pullSecret:
name: artifacts-pull-default-pwpgbz
forcePull: true
noCache: true
type: Docker
triggers:
- type: ConfigChange
- type: ImageChange

18 changes: 4 additions & 14 deletions openshift/templates/frontend/frontend-bc-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,8 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile-Openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-pwpgbz
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-pwpgbz
key: password
pullSecret:
name: artifacts-pull-default-pwpgbz
forcePull: true
noCache: true
type: Docker
triggers:
- type: ConfigChange
- type: ImageChange
6 changes: 2 additions & 4 deletions openshift/templates/task-queue/task-queue-bc-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ objects:
dockerfilePath: ./Dockerfile-Openshift-Taskq
pullSecret:
name: artifacts-default-pwpgbz
forcePull: true
noCache: true
type: Docker
# triggers:
# - imageChange: {}
# type: ImageChange
# - type: ConfigChange
status:
lastVersion: 0

0 comments on commit 79a4f21

Please sign in to comment.