Update replacements for hcc and airship-host-config

Change-Id: I61b02f416b7300ed1afcb2e021bc45bd1398a2d4
This commit is contained in:
Battina, Sai (sb464f) 2021-04-14 15:34:23 -05:00 committed by Matt McEuen
parent aae73005f5
commit eb76ab4afc
6 changed files with 27 additions and 2 deletions

View File

@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ssh-key-replacement.yaml
- versions.yaml

View File

@ -0,0 +1,20 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: airship-host-config-version-replacement
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:v2
replacements:
# Container versions for the airship-host-config Deployment
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.images.airship-host-config.airship-host-config.image}"
target:
objref:
kind: Deployment
name: airship-host-config
fieldrefs: ["{.spec.template.spec.containers[?(.name == 'airship-host-config')].image}"]

View File

@ -47,6 +47,9 @@ spec:
grafana:
repository: grafana/grafana
tag: 7.4.5
airship-host-config:
airship-host-config:
image: quay.io/airshipit/hostconfig-operator:latest
kube_prometheus_stack:
admission_webhooks:
repository: jettech/kube-webhook-certgen

View File

@ -3,6 +3,5 @@ resources:
- ../catalogues
transformers:
- ../../../../type/airship-core/target/initinfra/replacements
- ../../../../function/hostconfig-operator/replacements
- ../../../../../../airshipctl/manifests/function/flux/source-controller/replacements
- ../../../../../../airshipctl/manifests/function/flux/helm-controller/replacements

View File

@ -1,3 +1,5 @@
resources:
- ../../../../../../../airshipctl/manifests/function/baremetal-operator/replacements
- ../../../../../../../airshipctl/manifests/function/hwcc/replacements
- ../../../../../../../airshipctl/manifests/function/helm-chart-collator/replacements
- ../../../../../function/hostconfig-operator/replacements

View File

@ -14,7 +14,7 @@
vars:
# NOTE(drewwalters96): Set AIRSHIPCTL_REF to a commit SHA in order to pin
# the cloned version of airshipctl to a known/compatible reference.
AIRSHIPCTL_REF: "892bb6a16d53a0f43571284db83901bef53ed440"
AIRSHIPCTL_REF: "63c1faf718fd3341fc5bd975e575e3cf41647206"
sphinx_build_dir: docs/build
check:
jobs: