Decouple secret from other replacements in workers-capm3

Keeping secrets separately gives an ability to use other replacements
with alternative secret catalogues when current secret replacements are
not desired..

Change-Id: I981f14249874bab1547f91a64144ac909c0cc69e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
Andrii Ostapenko 2021-06-15 19:36:05 -05:00 committed by Kostyantyn Kalynovskyi
parent f90c9efda8
commit 1e8f31a160
4 changed files with 5 additions and 1 deletions

View File

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

View File

@ -2,6 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- workers-env-vars.yaml - workers-env-vars.yaml
- generated-secrets.yaml
- networking.yaml - networking.yaml
- metal3machinetemplate_vars.yaml - metal3machinetemplate_vars.yaml

View File

@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ../../../../function/workers-capm3/replacements - ../../../../function/workers-capm3/replacements
- ../../../../function/workers-capm3/replacements-secrets