diff --git a/examples/va/hci/edpm-pre-ceph/dep-values.yaml b/examples/va/hci/edpm-pre-ceph/dep-values.yaml new file mode 100644 index 000000000..94f1f6e47 --- /dev/null +++ b/examples/va/hci/edpm-pre-ceph/dep-values.yaml @@ -0,0 +1,10 @@ +# local-config: referenced, but not emitted by kustomize +apiVersion: v1 +kind: ConfigMap +metadata: + name: deployment-values + annotations: + config.kubernetes.io/local-config: "true" +data: + deployment: + name: new-deployment diff --git a/examples/va/hci/edpm-pre-ceph/kustomization.yaml b/examples/va/hci/edpm-pre-ceph/kustomization.yaml index db570724b..87b97a70c 100644 --- a/examples/va/hci/edpm-pre-ceph/kustomization.yaml +++ b/examples/va/hci/edpm-pre-ceph/kustomization.yaml @@ -9,3 +9,17 @@ components: resources: - values.yaml + - dep-values.yaml + +replacements: +- source: + kind: ConfigMap + name: deployment-values + fieldPath: data.deployment.name + targets: + - select: + kind: OpenStackDataPlaneDeployment + fieldPaths: + - metadata.name + options: + create: true