
This change updates the version of the replacement-transformer and templater images to v2, the same version used in the airshipctl repository. Breaking changes have been introduced to the latest versions of the images, causing document rendering to fail. Signed-off-by: Drew Walters <andrew.walters@att.com> Change-Id: Id0411f6c221d9986a6dece4d5f9b91ac94430ecc
29 lines
680 B
YAML
29 lines
680 B
YAML
apiVersion: airshipit.org/v1alpha1
|
|
kind: Templater
|
|
metadata:
|
|
name: secret-template
|
|
annotations:
|
|
config.kubernetes.io/function: |
|
|
container:
|
|
image: quay.io/airshipit/templater:v2
|
|
envs:
|
|
- TOLERATE_DECRYPTION_FAILURES
|
|
template: |
|
|
{{- $tolerate := env "TOLERATE_DECRYPTION_FAILURES" }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: my-config2
|
|
annotations:
|
|
config.k8s.io/function: |
|
|
container:
|
|
image: gcr.io/kpt-fn-contrib/sops:v0.1.0
|
|
envs:
|
|
- SOPS_IMPORT_PGP
|
|
data:
|
|
ignore-mac: true
|
|
cmd: decrypt
|
|
{{- if eq $tolerate "true" }}
|
|
cmd-tolerate-failures: true
|
|
{{- end }}
|