diff --git a/README.md b/README.md index c398aba0d..7f1269eda 100644 --- a/README.md +++ b/README.md @@ -813,7 +813,22 @@ spec: bundle_cacert_secret: -custom-certs ``` -To create the secrets, you can use the commands below: +Create the secret with `kustomization.yaml` file: + +```yaml +.... + +secretGenerator: + - name: -custom-certs + files: + - bundle-ca.crt= + options: + disableNameSuffixHash: true + +... +``` + +Create the secret with CLI: * Certificate Authority secret