Skip to content

Commit

Permalink
Document snag with stringData and server-side apply
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasas committed Oct 24, 2023
1 parent cdb1e28 commit 920a68b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ You must use single quotes `''` to escape special characters such as `$`, `\`,
`*`, `=`, and `!` in your strings. If you don't, your shell will interpret these
characters.

{{< note >}}
The `stringData` field for a Secret does not work well with server-side apply.
{{< /note >}}

### Use source files

1. Store the credentials in files:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ You can generate a Secret by defining a `secretGenerator` in a
literal values. For example, the following instructions create a Kustomization
file for the username `admin` and the password `1f2d1e2e67df`.

{{< note >}}
The `stringData` field for a Secret does not work well with server-side apply.
{{< /note >}}

### Create the Kustomization file

{{< tabs name="Secret data" >}}
Expand Down

0 comments on commit 920a68b

Please sign in to comment.