Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traefik: add objects depending on useCertManager #353

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion staging/traefik/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: traefik
version: 1.72.10
version: 1.72.11
appVersion: 1.7.12
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
Expand Down
3 changes: 2 additions & 1 deletion staging/traefik/templates/certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.ssl.useCertManager }}
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
Expand Down Expand Up @@ -31,4 +32,4 @@ spec:
# The commonName will get replaced by kubeaddons-config
# init-container for traefik
commonName: traefik.localhost.localdomain

{{- end }}
2 changes: 2 additions & 0 deletions staging/traefik/templates/init-cert-job.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.ssl.useCertManager }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -39,3 +40,4 @@ spec:
value: "konvoyconfig-kubeaddons"
- name: "TRAEFIK_CLUSTER_HOSTNAME_KEY"
value: "clusterHostname"
{{- end }}