Merge pull request #43668 from pegasas/stringdata
Document snag with Secrets, stringData, and server-side applypull/44274/head
commit
db823732b5
|
@ -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
|
`*`, `=`, and `!` in your strings. If you don't, your shell will interpret these
|
||||||
characters.
|
characters.
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
|
The `stringData` field for a Secret does not work well with server-side apply.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
### Use source files
|
### Use source files
|
||||||
|
|
||||||
1. Store the credentials in files:
|
1. Store the credentials in files:
|
||||||
|
|
|
@ -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
|
literal values. For example, the following instructions create a Kustomization
|
||||||
file for the username `admin` and the password `1f2d1e2e67df`.
|
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
|
### Create the Kustomization file
|
||||||
|
|
||||||
{{< tabs name="Secret data" >}}
|
{{< tabs name="Secret data" >}}
|
||||||
|
|
Loading…
Reference in New Issue