forked from HariSekhon/Kubernetes-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkustomization.yaml
43 lines (38 loc) · 1.33 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Author: Hari Sekhon
# Date: 2022-12-09 22:48:36 +0000 (Fri, 09 Dec 2022)
#
# vim:ts=2:sts=2:sw=2:et
# lint: k8s
#
# https://github.com/HariSekhon/Kubernetes-configs
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# E x t e r n a l S e c r e t s K u s t o m i z a t i o n
# ============================================================================ #
# Don't embed an AWS secret key like this, use IRSA and the patch in the overlay instead
#
# kubectl create secret generic awssm-secret --from-literal=access-key="$AWS_ACCESS_KEY_ID" --from-literal=secret-access-key="$AWS_SECRET_ACCESS_KEY"
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
#- external-secrets-aws-secret-store.yaml
#- external-secrets-gcp-secret-store.yaml
#- secret-store.yaml
#- external-secret.yaml
helmCharts:
- name: external-secrets
repo: https://charts.external-secrets.io
version: 0.8.1
releaseName: external-secrets
namespace: external-secrets
includeCRDs: true
valuesFile: values.yaml