attempt to use var replacement

Adam Veldhousen 2023-05-26 20:18:14 -05:00
parent 756330e79c
commit 3024f2f697
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
2 changed files with 18 additions and 0 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

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