
Changes to reflect [1] in treasuremap Fixed issue in /tools/deployment/35_deploy_worker_node.sh Aligned the tag of replacement pluging everywhere [1] https://review.opendev.org/c/airship/airshipctl/+/779829 Relates-To: #125 Change-Id: I24e3228e73714a14d42f28743b20f89d860f950e
22 lines
580 B
YAML
22 lines
580 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: quay.io/airshipit/replacement-transformer:v2
|
|
replacements:
|
|
- source:
|
|
objref:
|
|
kind: VariableCatalogue
|
|
name: generated-secrets
|
|
fieldref: "{.sshKeys.privateKey}"
|
|
target:
|
|
objref:
|
|
kind: Secret
|
|
name: hco-ssh-auth
|
|
fieldrefs:
|
|
- "data.ssh-privatekey%REPLACEMENT_SSH_PRIVATEKEY%"
|