Compare commits

...

1 Commits

Author SHA1 Message Date
Adam Veldhousen 6a27f69b29
attempt to use var replacement 2023-05-26 20:26:07 -05:00
2 changed files with 14 additions and 4 deletions

View File

@ -13,3 +13,13 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: barretthousen-service
imagePullSecrets:
- name: bh-registry
---
apiVersion: v1
kind: Secret
metadata:
name: bh-registry
type: kubernetes.io/dockerconfigjson
stringData:
.dockerconfigjson: '{ "auths": {} }'

View File

@ -65,9 +65,9 @@ patches:
value: git.vdhsn.com/barretthousen/client-web-client:beta
- target:
kind: ServiceAccount
name: barretthousen
kind: Secret
name: bh-registry
patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: git.vdhsn.com/barretthousen/client-web-client:beta
path: /stringData/.dockerconfigjson
value: ${.dockerconfigjson}