diff --git a/examples/common/olm/kustomization.yaml b/examples/common/olm/kustomization.yaml index 6f3f6d5f0..ed9484041 100644 --- a/examples/common/olm/kustomization.yaml +++ b/examples/common/olm/kustomization.yaml @@ -1,3 +1,5 @@ -resources: +components: - ../../../lib/olm-deps - ../../../lib/olm-openstack +resources: + - values.yaml diff --git a/examples/common/olm/values.yaml b/examples/common/olm/values.yaml new file mode 100644 index 000000000..c5400c30f --- /dev/null +++ b/examples/common/olm/values.yaml @@ -0,0 +1,9 @@ +# local-config: referenced, but not emitted by kustomize +apiVersion: v1 +kind: ConfigMap +metadata: + name: olm-values + annotations: + config.kubernetes.io/local-config: "true" +data: + openstack-operator-image: "quay.io/openstack-k8s-operators/openstack-operator-index:latest" diff --git a/lib/olm-deps/kustomization.yaml b/lib/olm-deps/kustomization.yaml index 7110e6470..f6afffb0b 100644 --- a/lib/olm-deps/kustomization.yaml +++ b/lib/olm-deps/kustomization.yaml @@ -1,3 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + resources: - cert_manager_namespace.yaml - cert_manager_operatorgroup.yaml diff --git a/lib/olm-openstack/kustomization.yaml b/lib/olm-openstack/kustomization.yaml index 94eac74d8..9be7e3d01 100644 --- a/lib/olm-openstack/kustomization.yaml +++ b/lib/olm-openstack/kustomization.yaml @@ -10,7 +10,7 @@ resources: replacements: - source: kind: ConfigMap - name: network-values + name: olm-values fieldPath: data.openstack-operator-image targets: - select: