Skip to content

Commit

Permalink
Rename isuer type to provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Aug 29, 2023
1 parent 9b7b469 commit e628f44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions charts/operator-wandb/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/operator-wandb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ ingress:
class: ""
issuer:
create: false
provider: ""
server: https://acme-v02.api.letsencrypt.org/directory
email: support@wandb.com

Expand Down

0 comments on commit e628f44

Please sign in to comment.