From 16fcf438af3172b97d30e27b301d07f5e2b9eb93 Mon Sep 17 00:00:00 2001 From: Robert Choi Date: Tue, 28 Sep 2021 11:59:24 +0900 Subject: [PATCH] add sealed-secrets app group --- sealed-secrets/base/kustomization.yaml | 5 ++++ sealed-secrets/base/resources.yaml | 34 ++++++++++++++++++++++++++ sealed-secrets/base/site-values.yaml | 11 +++++++++ sealed-secrets/image/image-values.yaml | 15 ++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 sealed-secrets/base/kustomization.yaml create mode 100644 sealed-secrets/base/resources.yaml create mode 100644 sealed-secrets/base/site-values.yaml create mode 100755 sealed-secrets/image/image-values.yaml diff --git a/sealed-secrets/base/kustomization.yaml b/sealed-secrets/base/kustomization.yaml new file mode 100644 index 0000000..fdb088d --- /dev/null +++ b/sealed-secrets/base/kustomization.yaml @@ -0,0 +1,5 @@ +resources: + - resources.yaml + +transformers: + - site-values.yaml diff --git a/sealed-secrets/base/resources.yaml b/sealed-secrets/base/resources.yaml new file mode 100644 index 0000000..a32d43c --- /dev/null +++ b/sealed-secrets/base/resources.yaml @@ -0,0 +1,34 @@ +--- +apiVersion: helm.fluxcd.io/v1 +kind: HelmRelease +metadata: + labels: + name: sealed-secrets-controller + name: sealed-secrets-controller +spec: + helmVersion: v3 + chart: + type: helmrepo + repository: https://bitnami-labs.github.io/sealed-secrets + name: sealed-secrets + version: 1.16.1 + releaseName: sealed-secrets-controller + targetNamespace: kube-system + wait: true +--- +apiVersion: helm.fluxcd.io/v1 +kind: HelmRelease +metadata: + labels: + name: kubed + name: kubed +spec: + helmVersion: v3 + chart: + type: helmrepo + repository: https://charts.appscode.com/stable/ + name: kubed + version: v0.12.0-rc.3 + releaseName: kubed + targetNamespace: kube-system + wait: true diff --git a/sealed-secrets/base/site-values.yaml b/sealed-secrets/base/site-values.yaml new file mode 100644 index 0000000..455b1bf --- /dev/null +++ b/sealed-secrets/base/site-values.yaml @@ -0,0 +1,11 @@ +apiVersion: openinfradev.github.com/v1 +kind: HelmValuesTransformer +metadata: + name: site + +charts: +- name: sealed-secrets-controller + override: + +- name: kubed + override: diff --git a/sealed-secrets/image/image-values.yaml b/sealed-secrets/image/image-values.yaml new file mode 100755 index 0000000..a46b015 --- /dev/null +++ b/sealed-secrets/image/image-values.yaml @@ -0,0 +1,15 @@ +apiVersion: openinfradev.github.com/v1 +kind: HelmValuesTransformer +metadata: + name: image +global: + registry: LOCAL_REGISTRY + +charts: +- name: sealed-secrets-controller + # TODO: override image url + override: + +- name: kubed + # TODO: override image url + override: