Skip to content

Commit 3529f27

Browse files
maelvlswallrj
andcommitted
Use app.kubernetes.io/instance for the application
And add an icon! Signed-off-by: Maël Valais <[email protected]> Co-authored-by: Richard Wall <[email protected]>
1 parent cb46696 commit 3529f27

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

chart/jetstacksecure-mp/templates/application.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ spec:
1313
descriptor:
1414
type: Jetstack Secure Platform
1515
version: "1.1.0-gcm.1" # Must be the same as in the schema.yaml file.
16+
icons:
17+
- src: https://platform.jetstack.io/logo_icon.png
18+
size: 458x500
19+
type: image/png
1620
selector:
1721
matchLabels:
18-
app.kubernetes.io/name: "{{ .Release.Name }}"
22+
app.kubernetes.io/instance: "{{ .Release.Name }}"
1923
addOwnerRef: true
2024
componentKinds:
2125
- group: ""

chart/jetstacksecure-mp/templates/billing-agent-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ metadata:
77
helm.sh/chart: "{{ .Chart.Name }}"
88
app.kubernetes.io/version: "{{ .Chart.AppVersion }}"
99
app.kubernetes.io/component: ubbagent
10+
app.kubernetes.io/instance: "{{ .Release.Name | trunc 63 | trimSuffix "-" }}"
11+
1012
data:
1113
config.yaml: |
1214
# The identity section contains authentication information used

chart/jetstacksecure-mp/templates/billing-agent-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
helm.sh/chart: {{ .Chart.Name }}
88
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
99
app.kubernetes.io/name: {{ .Release.Name | trunc 63 | trimSuffix "-" }}
10+
app.kubernetes.io/instance: {{ .Release.Name | trunc 63 | trimSuffix "-" }}
1011
app.kubernetes.io/component: ubbagent
1112
spec:
1213
replicas: 1

0 commit comments

Comments
 (0)