Skip to content

Commit

Permalink
Use .Release.Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Weidner committed Sep 19, 2019
1 parent 8da550c commit c083c9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions stable/dex/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: dex
namespace: kubeaddons
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": pre-install
spec:
Expand All @@ -12,7 +12,7 @@ spec:
kind: ClusterIssuer
commonName: dex
organization:
- Mesosphere
- D2iQ
dnsNames:
- dex-kubeaddons
- dex-kubeaddons.kubeaddons
Expand Down
4 changes: 2 additions & 2 deletions staging/cert-manager-setup/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: read-apiservices-rolebinding
namespace: cert-manager
namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
namespace: cert-manager
namespace: {{ .Release.Namespace }}
name: default
roleRef:
kind: ClusterRole
Expand Down
2 changes: 1 addition & 1 deletion staging/cert-manager-setup/templates/issuers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
name: kubernetes-root-issuer
namespace: cert-manager
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": "post-install"
"helm.sh/hook-weight": "-4"
Expand Down

0 comments on commit c083c9f

Please sign in to comment.