From 730817d0597ebfe09390615b44e6a3c9249e0c7b Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 30 Jul 2024 14:30:00 -0500 Subject: [PATCH] Add sealed secret --- kustomize/app/kustomization.yaml | 1 + kustomize/app/secret.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 kustomize/app/secret.yaml diff --git a/kustomize/app/kustomization.yaml b/kustomize/app/kustomization.yaml index 251340f..e16ea74 100644 --- a/kustomize/app/kustomization.yaml +++ b/kustomize/app/kustomization.yaml @@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: toy resources: + - secret.yaml - deployment.yaml - services.yaml - ingress.yaml diff --git a/kustomize/app/secret.yaml b/kustomize/app/secret.yaml new file mode 100644 index 0000000..1281eeb --- /dev/null +++ b/kustomize/app/secret.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: toy-session-secret + namespace: toy +spec: + encryptedData: + SESSION_SECRET: AgCsdLesTTj8CsXBGeqtZVXx6TZOUBYxqouXKoHnhg00A48KaHADqaCoASGMKLa0AiHTpArC77vnkjF70x4uJyH/ZtVXg9GzAIMSi5PZqWYDblb2gyKItK/s87HNNoHW4N6wbiR3AlYO1DhVn14EvYtnMBgKONXofrW8JLQ4l9oyVnT6g1BFf9/xqK8p9/BGMeTXwDRQadhHRarAazbPIno3FlY9DjMz4wyRKM9OHT1BG4Yo7evOXuuppZxfxAtSYIWqZ6PXBg5mNXURUyKZshPa1HR/O8HitheYt1sXeUE8OjrnFuHNu9F9WenBCXBov/bOIwtEDWsIMiaDwRyHdkeRMzJeccdsKnrJO2PyuJv+dhyQvAiGndwSD7cPqyV4T06S7sdIzKqgJrCa3oA/FXEEDUFQXsO/q8030n6pTUSOlCgXfdfqOncCKJq91WXqhrq6Q2p/LXxOUDqDxNp0aP1lykAuETdXhD8M9qL5JEnmjLD/GxuY6JmkQqbgk+BiZ4huPjK9F55LUC3C49j5tR0uyE4bf8Oef+t7gzhiqspEvstUaRHfSc8loIPkg6kYl4NpOeww/ae2hJnpuS3rlXjFLIrGXUwlp/Tla2NxjJ3NSpOT/3NBp+fNAKLp7hgSq1lRlp7Pz7CvTFX/dug9PNivEx4IscAVOAh4MK+QwYjg9XmOL7FHGwYB8uikbgWVA19iIOxrZwXWHLyAE4Qn0whzJ5lj6bw4fEZ2K9w14ObLFDNFB2qUXxRHiC3DC+YZPcyfGTaQaOiMi1QqTWuJ/qRLymoI/5qsHDXV3A4iN6EcopVT83GNT5JLtSfNe8z2LGhbRWP6yFKGiR4fF/WzuRFCO64gu1VjMPpUd9H8ajn6TwE= + template: + metadata: + creationTimestamp: null + name: toy-session-secret + namespace: toy