Skip to content

Commit

Permalink
Use fullname to generate cleaner name in chart
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Dec 29, 2018
1 parent a876a9d commit 5a9efe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions chart/stash/templates/apiregistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ metadata:
name: {{ template "stash.fullname" . }}-apiserver-cert
namespace: {{ $promNamespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "stash.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
{{- include "stash.labels" . | nindent 4 }}
type: kubernetes.io/tls
data:
tls.crt: {{ b64enc $cert.Cert }}
Expand Down
2 changes: 1 addition & 1 deletion chart/stash/templates/cleaner.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Release.Name }}-cleaner
name: {{ template "stash.fullname" . }}-cleaner
labels:
{{- include "stash.labels" . | nindent 4 }}
annotations:
Expand Down

0 comments on commit 5a9efe7

Please sign in to comment.