From e628f4420ba0d1cdce05841ec46239b60de3bca8 Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Tue, 29 Aug 2023 19:16:26 -0400 Subject: [PATCH] Rename isuer type to provider --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/templates/ingress.yaml | 6 +++--- charts/operator-wandb/values.yaml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 0618500e..8b88d85e 100644 --- a/charts/operator-wandb/Chart.yaml +++ b/charts/operator-wandb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: operator-wandb description: A Helm chart for deploying W&B to Kubernetes type: application -version: 0.5.1 +version: 0.5.2 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg diff --git a/charts/operator-wandb/templates/ingress.yaml b/charts/operator-wandb/templates/ingress.yaml index 6ca996ec..51d797eb 100644 --- a/charts/operator-wandb/templates/ingress.yaml +++ b/charts/operator-wandb/templates/ingress.yaml @@ -1,5 +1,5 @@ {{- if .Values.ingress.issuer.create }} -{{- if eq .Values.ingress.issuer.type "google" }} +{{- if eq .Values.ingress.issuer.provider "google" }} --- apiVersion: networking.gke.io/v1 kind: ManagedCertificate @@ -47,7 +47,7 @@ metadata: {{- end }} annotations: {{- if .Values.ingress.issuer.create }} - {{- if eq .Values.ingress.issuer.type "google" }} + {{- if eq .Values.ingress.issuer.provider "google" }} "networking.gke.io/managed-certificates" : "{{ .Release.Name }}-cert" {{- else }} "cert-manager.io/issuer": "{{ .Release.Name }}-issuer" @@ -63,7 +63,7 @@ spec: ingressClassName: {{ .Values.ingress.class }} {{- if .Values.ingress.issuer.create }} - {{- if ne .Values.ingress.issuer.type "google" }} + {{- if ne .Values.ingress.issuer.provider "google" }} tls: - host: [{{ replace "https://" "" (replace "http://" "" .Values.global.host) }}] secretName: {{ .Release.Name }}-tls diff --git a/charts/operator-wandb/values.yaml b/charts/operator-wandb/values.yaml index 2a60d6b0..f2a4d44b 100644 --- a/charts/operator-wandb/values.yaml +++ b/charts/operator-wandb/values.yaml @@ -79,6 +79,7 @@ ingress: class: "" issuer: create: false + provider: "" server: https://acme-v02.api.letsencrypt.org/directory email: support@wandb.com