Merge "Add missing images in versions catalogue"

This commit is contained in:
Zuul 2021-04-21 02:55:31 +00:00 committed by Gerrit Code Review
commit fcfad3533a
5 changed files with 58 additions and 0 deletions

View File

@ -84,6 +84,14 @@ spec:
tag: v0.4.1 tag: v0.4.1
images: images:
# images are organized by
# <function>:
# <component>:
# <container>:
helm_chart_collator:
helm_chart_collator:
helm_chart_collator:
image: quay.io/airshipit/helm-chart-collator:latest
baremetal_operator: baremetal_operator:
ironic: # ironic Deployment ironic: # ironic Deployment
init_bootstrap: init_bootstrap:
@ -120,6 +128,10 @@ spec:
kube_controllers: # calico-kube-controllers Deployment kube_controllers: # calico-kube-controllers Deployment
calico_kube_controllers: calico_kube_controllers:
image: quay.io/calico/kube-controllers:v3.15.1 image: quay.io/calico/kube-controllers:v3.15.1
tigera_operator:
tigera_operator:
repository:
image: quay.io/tigera/operator:v1.15.0
hwcc: hwcc:
manager: # controller-manager Deployment manager: # controller-manager Deployment
manager: manager:

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- versions.yaml

View File

@ -0,0 +1,19 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: tigera-operator-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:v2
replacements:
- source:
objref:
kind: VersionsCatalogue
name: versions-airshipctl
fieldref: "{.spec.images.tigera_operator.tigera_operator.repository.image}"
target:
objref:
kind: Deployment
name: tigera-operator
fieldrefs: ["{.spec.template.spec.containers[?(.name == 'tigera-operator')].image}"]

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- versions.yaml

View File

@ -0,0 +1,19 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: helm-chart-collator-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:v2
replacements:
- source:
objref:
kind: VersionsCatalogue
name: versions-airshipctl
fieldref: "{.spec.images.helm_chart_collator.helm_chart_collator.helm_chart_collator.image}"
target:
objref:
kind: Deployment
name: helm-chart-collator
fieldrefs: ["{.spec.template.spec.containers[?(.name == 'helm-chart-collator')].image}"]