Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jashandeep-sohi authored Aug 6, 2024
1 parent 0edf431 commit 9eb79e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ kpt fn eval --image ghcr.io/jashandeep-sohi/krm-fn-sealedsecrets/seal:latest --

### Kustomize Stub Secrets

When using Kustomize, you might have some references to Secrets in other
When using Kustomize, you might have some references to `Secrets` in other
resources (e.g. `Pod.spec.containers.envFrom.secretsRef.name`) that'd you'd like to
be updated when the name changes because of `nameSuffixHash=true`.

You can do that by emmiting stub v1.Secrets along with the SealedSecret:
You can do that by emmiting stub `v1.Secrets` along with the `SealedSecret`:

```shell
kpt fn eval --image ghcr.io/jashandeep-sohi/krm-fn-sealedsecrets/seal:latest -- "cert=$(kubeseal --fetch-cert)" nameSuffixHash=t emmitKustomizeStubSecrets=t
Expand Down

0 comments on commit 9eb79e1

Please sign in to comment.