From e42b1b112926e51f3bae34cfc8f23c7a0c8645c9 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 14 May 2020 11:44:25 +0100 Subject: [PATCH] Add icons to all charts --- charts/kubezero-app/Chart.yaml | 1 + charts/kubezero-cert-manager/Chart.yaml | 3 +- .../templates/cluster-ca.yaml | 48 +++++++++++++++++++ charts/kubezero-cert-manager/values.yaml | 8 ++++ charts/kubezero/Chart.yaml | 1 + 5 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 charts/kubezero-cert-manager/templates/cluster-ca.yaml diff --git a/charts/kubezero-app/Chart.yaml b/charts/kubezero-app/Chart.yaml index bdc8c866..24d1daa7 100644 --- a/charts/kubezero-app/Chart.yaml +++ b/charts/kubezero-app/Chart.yaml @@ -4,6 +4,7 @@ description: KubeZero ArgoCD Application - Root chart of the KubeZero type: application version: 0.1.10 home: https://kubezero.com +icon: https://cdn.zero-downtime.net/assets/logo_small.png keywords: - kubezero - argocd diff --git a/charts/kubezero-cert-manager/Chart.yaml b/charts/kubezero-cert-manager/Chart.yaml index 985e4a1e..2c84756e 100644 --- a/charts/kubezero-cert-manager/Chart.yaml +++ b/charts/kubezero-cert-manager/Chart.yaml @@ -2,8 +2,9 @@ apiVersion: v2 name: kubezero-cert-manager description: KubeZero Umbrella Chart for cert-manager type: application -version: 0.2.1 +version: 0.3.0 home: https://kubezero.com +icon: https://cdn.zero-downtime.net/assets/logo_small.png keywords: - kubezero - cert-manager diff --git a/charts/kubezero-cert-manager/templates/cluster-ca.yaml b/charts/kubezero-cert-manager/templates/cluster-ca.yaml new file mode 100644 index 00000000..42e1e32d --- /dev/null +++ b/charts/kubezero-cert-manager/templates/cluster-ca.yaml @@ -0,0 +1,48 @@ +{{- if .Values.localCA.enabled }} +{{- if .Values.localCA.selfsigning }} + +# KubeZero / Local cluster CA +apiVersion: cert-manager.io/v1alpha2 +kind: Issuer +metadata: + name: kubezero-selfsigning-issuer + namespace: kube-system +spec: + selfSigned: {} +--- +apiVersion: cert-manager.io/v1alpha2 +kind: Certificate +metadata: + name: kubezero-localCA + namespace: kube-system +spec: + secretName: kubezero-ca-tls + commonName: "kubezero-localCA" + isCA: true + issuerRef: + name: kubezero-selfsigning-issuer + usages: + - "any" +--- + +{{ else }} +apiVersion: v1 +kind: Secret +metadata: + name: kubezero-ca-tls + namespace: kube-system +data: + tls.crt: {{ .Values.localCA.ca.crt | b64enc }} + tls.key: {{ .Values.localCA.ca.key | b64enc }} +--- +{{- end }} + +apiVersion: cert-manager.io/v1alpha2 +kind: Issuer +metadata: + name: kubezero-localCA-issuer + namespace: kube-system +spec: + ca: + secretName: kubezero-ca-tls +{{- end }} diff --git a/charts/kubezero-cert-manager/values.yaml b/charts/kubezero-cert-manager/values.yaml index 579c9b10..e23fcfbf 100644 --- a/charts/kubezero-cert-manager/values.yaml +++ b/charts/kubezero-cert-manager/values.yaml @@ -8,6 +8,14 @@ clusterIssuer: {} # region: us-west-2 # hostedZoneID: 1234567890 +localCA: + enabled: true + # If selfsigning is false you must provide the ca key and crt below + selfsigning: true + #ca: + # key: + # crt: + cert-manager: installCRDs: true tolerations: diff --git a/charts/kubezero/Chart.yaml b/charts/kubezero/Chart.yaml index a8f17916..a3ad7208 100644 --- a/charts/kubezero/Chart.yaml +++ b/charts/kubezero/Chart.yaml @@ -3,6 +3,7 @@ description: KubeZero Helm chart to install Zero Down Time Kuberenetes platform name: kubezero version: 0.2.3 home: https://kubezero.com +icon: https://cdn.zero-downtime.net/assets/logo_small.png keywords: - kubezero - argocd