diff --git a/charts/gke-ingress/Chart.yaml b/charts/gke-ingress/Chart.yaml index d4299e7..ce2c826 100644 --- a/charts/gke-ingress/Chart.yaml +++ b/charts/gke-ingress/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: gke-ingress -version: 0.2.0 +version: 0.3.0 appVersion: 0.1.0 description: gke-ingress and related resources sources: @@ -12,4 +12,4 @@ keywords: - ingress annotations: artifacthub.io/changes: | - - Fix service + - add secret diff --git a/charts/gke-ingress/README.md b/charts/gke-ingress/README.md index 3e9fb4f..8756149 100644 --- a/charts/gke-ingress/README.md +++ b/charts/gke-ingress/README.md @@ -1,6 +1,6 @@ # gke-ingress -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE) +![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE) gke-ingress and related resources diff --git a/charts/gke-ingress/templates/secret.yaml b/charts/gke-ingress/templates/secret.yaml new file mode 100644 index 0000000..af56b57 --- /dev/null +++ b/charts/gke-ingress/templates/secret.yaml @@ -0,0 +1,11 @@ +{{ with .Values.secret }} +apiVersion: v1 +data: + client_id: {{ .client_id}} + client_secret: {{ .client_secret}} +kind: Secret +metadata: + name: iap-secret + namespace: {{ default "istio-ingress" .namespace}} +type: Opaque +{{ end }} \ No newline at end of file