
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
22 lines
621 B
YAML
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%"
|