Skip to content

Commit

Permalink
refactor: use patch to replace img
Browse files Browse the repository at this point in the history
  • Loading branch information
cwyl02 committed Jan 9, 2025
1 parent 43e177a commit e76b7cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: bitnami/kubectl:1.30.5
image: bitnami/kubectl:1.29.6
name: admin-credentials-rotate
priorityClassName: system-cluster-critical
restartPolicy: OnFailure
Expand Down
11 changes: 7 additions & 4 deletions services/git-operator/0.1.2/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ patches:
target:
kind: Certificate
name: git-operator-git-webserver

images:
- name: bitnami/kubectl
newTag: 1.30.5
- patch: |
- op: replace
path: /spec/jobTemplate/spec/template/spec/containers/0/image
value: bitnami/kubectl:1.30.5
target:
kind: CronJob
name: git-operator-admin-credentials-rotate

0 comments on commit e76b7cc

Please sign in to comment.