James Gu be4d17a36e airship-core type and reference site manifest update for 2.1 release
Update the airshipctl version pin and fixes in the reference type and
site manifests to keep up to date with the airshipctl changes in version 2.1.

Change-Id: I19c1cf874f33eeccba5b0fbc74404dd5d462f55d
2021-11-11 22:07:55 +00:00

22 lines
621 B
YAML

# These rules inject env vars into the k8scontrol function.
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: hco-generated-ssh-key-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: localhost/replacement-transformer
replacements:
- source:
objref:
kind: VariableCatalogue
name: combined-target-secrets
fieldref: ".secretGroups.[name=targetSshSecrets].values.[name=privateKey].data"
target:
objref:
kind: Secret
name: hco-ssh-auth
fieldrefs:
- "data.ssh-privatekey%REPLACEMENT_SSH_PRIVATEKEY%"