Skip to content

Commit

Permalink
Merge pull request #353 from mesosphere/armandgrillet/DCOS-62182
Browse files Browse the repository at this point in the history
traefik: add objects depending on useCertManager
  • Loading branch information
makkes authored Jan 14, 2020
2 parents 6bf01cf + d62fc7c commit 4cca141
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
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 }}

0 comments on commit 4cca141

Please sign in to comment.