From 2ccdf6933c69e9bfa00a7d3822623d9627777089 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Wed, 22 Jun 2022 23:25:10 +1000 Subject: [PATCH] docs: fix k8s yaml (#3575) --- docs/content/en/integration/kubernetes/secrets.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/en/integration/kubernetes/secrets.md b/docs/content/en/integration/kubernetes/secrets.md index 8e45bae4..e2fd07e7 100644 --- a/docs/content/en/integration/kubernetes/secrets.md +++ b/docs/content/en/integration/kubernetes/secrets.md @@ -102,6 +102,7 @@ stringData: This is the same manifest as above but encoded in base64. ```yaml +--- kind: Secret apiVersion: v1 type: Opaque @@ -119,6 +120,7 @@ data: SMTP_PASSWORD: b2k0WWFnNUhYOEJoYzVKVHI0OW5Sa2RQRXI0SmNQTWZMQVB2WHhOcEh0SHFpSFhmeDNpc2RXWHVUZzd5Q3Rqaw== STORAGE_ENCRYPTION_KEY: ckg4N3JqVk1RQnZ6VmdqOHZWR1N4aG9wMlBQd2Rkcko3QjZvU2tHY21vZ2FuTWY0d3FBTnA5QUp3YU1IdDhSQQ== STORAGE_PASSWORD: Tk1IZjlaN0M1VVFZdUtLZ2g5QkpUS2VjY29adDZjNjQ3RlFxc0VIaGthcGtrbmRQa1B3M2Q4Ym52a3FMZ2laNQ== +... ``` ### Kustomize @@ -129,6 +131,7 @@ desired secret value. ##### kustomization.yaml ```yaml +--- generatorOptions: disableNameSuffixHash: true labels: @@ -148,6 +151,7 @@ secretGenerator: - SMTP_PASSWORD - STORAGE_ENCRYPTION_KEY - STORAGE_PASSWORD +... ``` ## Usage @@ -159,6 +163,7 @@ The example is an excerpt for a manifest which can mount volumes. Examples of th [StatefulSet], and [DaemonSet]. ```yaml +--- spec: containers: - name: authelia @@ -214,6 +219,7 @@ spec: path: STORAGE_ENCRYPTION_KEY - key: STORAGE_PASSWORD path: STORAGE_PASSWORD +... ``` [Kubernetes]: https://kubernetes.io/