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 71f5c9a commit bceef60
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 54 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 @@ -90,9 +90,5 @@ objects:
forcePull: true
noCache: true
type: Source
triggers:
- imageChange: {}
type: ImageChange
- type: ConfigChange
status:
lastVersion: 0
19 changes: 3 additions & 16 deletions openshift/templates/frontend/frontend-bc-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,11 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile-Openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: password
pullSecret:
name: artifacts-pull-default-idxprm
noCache: true
forcePull: true
type: Docker
successfulBuildsHistoryLimit: 5
triggers:
- imageChange: {}
type: ImageChange
- type: ConfigChange
successfulBuildsHistoryLimit: 5
status:
lastVersion: 0
17 changes: 2 additions & 15 deletions openshift/templates/task-queue/task-queue-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,11 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile.taskq.Openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: password
pullSecret:
name: artifacts-pull-default-idxprm
noCache: true
forcePull: true
type: Docker
successfulBuildsHistoryLimit: 5
triggers:
- imageChange: {}
type: ImageChange
- type: ConfigChange
status:
lastVersion: 0
24 changes: 5 additions & 19 deletions openshift/templates/vinpower/vinpower-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,9 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile-Openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-idxprm
key: password
- name: ARTIFACTORY_URL
valueFrom:
secretKeyRef:
name: cthub-artifactory
key: ARTIFACTORY_URL
pullSecret:
name: artifacts-pull-default-idxprm
noCache: true
forcePull: true
type: Docker
triggers:
- type: ConfigChange
- type: ImageChange

0 comments on commit bceef60

Please sign in to comment.