Skip to content

Commit

Permalink
Separated char name from version labels & Truncating labels to 63 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorin Buliarca committed Aug 31, 2017
1 parent 7a35a70 commit 2cdeec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helm/upp-aggregate-healthcheck/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ kind: Deployment
metadata:
name: {{ .Values.service.name }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
chart: "{{ .Chart.Name | trunc 63 }}"
chartVersion: "{{ .Chart.Version | trunc 63 }}"
visualize: "true"
app: {{ .Values.service.name }}
spec:
Expand Down
3 changes: 2 additions & 1 deletion helm/upp-aggregate-healthcheck/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ apiVersion: v1
metadata:
name: {{.Values.service.name}}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
chart: "{{ .Chart.Name | trunc 63 }}"
chartVersion: "{{ .Chart.Version | trunc 63 }}"
app: {{.Values.service.name}}
visualize: "true"
hasHealthcheck: "{{ .Values.service.hasHealthcheck }}"
Expand Down

0 comments on commit 2cdeec4

Please sign in to comment.