Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

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 dbf0d93 commit 590c75e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helm/v1-suggestor/templates/deployment.yaml
Expand Up @@ -3,7 +3,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/v1-suggestor/templates/service.yaml
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 590c75e

Please sign in to comment.