From 5884290fff5d8218b127003bbeb7681aa7df263b Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 13 May 2020 14:05:30 +0000 Subject: [PATCH] Set API version of KustomizationPatch to v1alpha1 Rename all `KustomizationPatch` instances to `v1alpha1/KustomizationPatch`, to reflect that it's an alpha feature. --- examples/components.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/components.md b/examples/components.md index 18df90aa7..a5a8374e2 100644 --- a/examples/components.md +++ b/examples/components.md @@ -465,15 +465,15 @@ spec: EOF ``` -Define an `external_db` component, using `kind: KustomizationPatch`, that -creates a `Secret` for the DB password and a new entry in the `ConfigMap`: +Define an `external_db` component, using `kind: v1alpha1/KustomizationPatch`, +that creates a `Secret` for the DB password and a new entry in the `ConfigMap`: ```shell EXT_DB=$DEMO_HOME/components/external_db mkdir -p $EXT_DB cat <$EXT_DB/kustomization.yaml -kind: KustomizationPatch # <-- Component notation +kind: v1alpha1/KustomizationPatch # <-- Component notation secretGenerator: - name: dbpass @@ -528,7 +528,7 @@ LDAP=$DEMO_HOME/components/ldap mkdir -p $LDAP cat <$LDAP/kustomization.yaml -kind: KustomizationPatch +kind: v1alpha1/KustomizationPatch secretGenerator: - name: ldappass @@ -582,7 +582,7 @@ RECAPTCHA=$DEMO_HOME/components/recaptcha mkdir -p $RECAPTCHA cat <$RECAPTCHA/kustomization.yaml -kind: KustomizationPatch +kind: v1alpha1/KustomizationPatch secretGenerator: - name: recaptcha