Skip to content

Commit

Permalink
fix(t8s-cluster/management-cluster): labels (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Sep 25, 2023
1 parent fd8ce10 commit de72cbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/t8s-cluster/templates/management-cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ metadata:
namespace: {{ .Release.Namespace}}
labels: {{- include "common.labels.standard" . | nindent 4 }}
t8s.teuto.net/sla: {{ .Values.metadata.serviceLevelAgreement | quote }}
t8s.teuto.net/cluster: {{ .Values.metadata.friendlyName | default (.Release.Name | trimPrefix (printf "%d-" .Values.metadata.customerID)) | quote }}
t8s.teuto.net/customer-id: {{ required "You need to set the `customerID`" .Values.metadata.customerID | quote }}
t8s.teuto.net/customer-name: {{ required "You need to set the `customerName`" .Values.metadata.customerName | quote }}
t8s.teuto.net/internal-name: {{ .Release.Name | quote }}
t8s.teuto.net/role: workload
annotations:
t8s.teuto.net/cluster_support_project_url: {{ .Values.metadata.supportProjectUrl | quote}}
Expand All @@ -18,6 +15,9 @@ metadata:
spec:
customerID: {{ .Values.metadata.customerID }}
customerName: {{ .Values.metadata.customerName }}
{{- with .Values.metadata.friendlyName }}
friendlyName: {{ . }}
{{- end }}
controlPlane:
singleNode: {{ .Values.controlPlane.singleNode }}
flavor: {{ .Values.controlPlane.flavor }}
Expand Down

0 comments on commit de72cbc

Please sign in to comment.