attempt to use var replacement

Adam Veldhousen 2023-05-26 20:18:14 -05:00
parent 756330e79c
commit 6a27f69b29
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
2 changed files with 14 additions and 4 deletions

View File

@ -13,3 +13,13 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: barretthousen-service 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 value: git.vdhsn.com/barretthousen/client-web-client:beta
- target: - target:
kind: ServiceAccount kind: Secret
name: barretthousen name: bh-registry
patch: |- patch: |-
- op: replace - op: replace
path: /spec/template/spec/containers/0/image path: /stringData/.dockerconfigjson
value: git.vdhsn.com/barretthousen/client-web-client:beta value: ${.dockerconfigjson}