Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Commit 38ffa14

Browse files
build: Update service to Keptn 0.12 (#60)
* build: Update service to Keptn 0.12 Signed-off-by: TannerGabriel <[email protected]> * Add DISTRIBUTOR_VERSION and PUBSUB_GROUP variable to Helm Signed-off-by: TannerGabriel <[email protected]>
1 parent 96c7711 commit 38ffa14

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Future versions of this service may support additional integrations with other c
1919
| 0.8.4 | keptncontrib/argo-service:0.8.4 |
2020
| 0.9.0 - 0.9.2 | keptncontrib/argo-service:0.9.0 |
2121
| 0.10.x | keptncontrib/argo-service:0.9.1 |
22+
| 0.12.x | keptncontrib/argo-service:0.9.2 |
2223

2324
## Argo Rollout Support Explained
2425

chart/templates/deployment.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ spec:
5252
livenessProbe:
5353
httpGet:
5454
path: /health
55-
port: 10999
55+
port: 8080
5656
initialDelaySeconds: 0
5757
periodSeconds: 5
5858
readinessProbe:
5959
httpGet:
6060
path: /health
61-
port: 10999
61+
port: 8080
6262
initialDelaySeconds: 5
6363
periodSeconds: 5
6464
imagePullPolicy: {{ .Values.distributor.image.pullPolicy }}
@@ -84,6 +84,8 @@ spec:
8484
value: "{{ .Values.distributor.projectFilter }}"
8585
- name: SERVICE_FILTER
8686
value: "{{ .Values.distributor.serviceFilter }}"
87+
- name: DISTRIBUTOR_VERSION
88+
value: {{ .Values.distributor.image.tag | default .Chart.AppVersion }}
8789
- name: VERSION
8890
valueFrom:
8991
fieldRef:
@@ -117,6 +119,11 @@ spec:
117119
{{- $apiValidateTls := .Values.remoteControlPlane.api.apiValidateTls | ternary "true" "false" }}
118120
value: "{{ $apiValidateTls }}"
119121
{{- end }}
122+
- name: PUBSUB_GROUP
123+
valueFrom:
124+
fieldRef:
125+
fieldPath: metadata.labels['app.kubernetes.io/name']
126+
{{- end }}
120127

121128
{{- with .Values.nodeSelector }}
122129
nodeSelector:

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ distributor:
1717
image:
1818
repository: docker.io/keptn/distributor # Container Image Name
1919
pullPolicy: IfNotPresent # Kubernetes Image Pull Policy
20-
tag: "0.10.0" # Container Tag
20+
tag: "0.12.3" # Container Tag
2121

2222
remoteControlPlane:
2323
enabled: false # Enables remote execution plane mode
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release Notes 0.9.2
2+
3+
## New Features
4+
5+
- Update `keptn/distributor` to version `0.12.3`

skaffold.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ deploy:
2323
overrides:
2424
distributor:
2525
image:
26-
tag: 0.10.0
26+
tag: 0.12.3
2727
resources:
2828
limits:
2929
memory: 512Mi

0 commit comments

Comments
 (0)