This repository was archived by the owner on Jan 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +64
-26
lines changed
Expand file tree Collapse file tree 5 files changed +64
-26
lines changed Original file line number Diff line number Diff line change @@ -93,20 +93,10 @@ spec:
9393 configMapKeyRef :
9494 name : job-service-config
9595 key : enable_kubernetes_api_access
96- livenessProbe :
97- httpGet :
98- path : /health
99- port : 10999
10096 resources :
10197 {{- toYaml .Values.resources | nindent 12 }}
10298 - name : distributor
10399 image : " {{ .Values.distributor.image.repository }}:{{ .Values.distributor.image.tag | default .Chart.AppVersion }}"
104- livenessProbe :
105- httpGet :
106- path : /health
107- port : 10999
108- initialDelaySeconds : 5
109- periodSeconds : 5
110100 imagePullPolicy : Always
111101 ports :
112102 - containerPort : 8080
@@ -135,6 +125,8 @@ spec:
135125 value : " {{ .Values.distributor.projectFilter }}"
136126 - name : SERVICE_FILTER
137127 value : " {{ .Values.distributor.serviceFilter }}"
128+ - name : DISTRIBUTOR_VERSION
129+ value : {{ .Values.distributor.image.tag | default .Chart.AppVersion }}
138130 - name : VERSION
139131 valueFrom :
140132 fieldRef :
@@ -163,6 +155,12 @@ spec:
163155 - name : HTTP_SSL_VERIFY
164156 value : " {{ .Values.remoteControlPlane.api.apiValidateTls | default " true" }}"
165157 {{- end }}
158+ {{- if .Values.distributor.config.queueGroup.enabled }}
159+ - name : PUBSUB_GROUP
160+ valueFrom :
161+ fieldRef :
162+ fieldPath : metadata.labels['app.kubernetes.io/name']
163+ {{- end }}
166164
167165 {{- with .Values.nodeSelector }}
168166 nodeSelector :
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ distributor:
1818 image :
1919 repository : docker.io/keptn/distributor # Container Image Name
2020 pullPolicy : IfNotPresent # Kubernetes Image Pull Policy
21- tag : " 0.10.0" # Container Tag
21+ tag : " 0.12.2" # Container Tag
22+ config :
23+ queueGroup :
24+ enabled : true # Enable connection via Nats queue group to support exactly-once message processing
2225
2326remoteControlPlane :
2427 enabled : false # Enables remote execution plane mode
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
99 github.com/golang/mock v1.6.0
1010 github.com/google/gofuzz v1.2.0 // indirect
1111 github.com/kelseyhightower/envconfig v1.4.0
12- github.com/keptn/go-utils v0.10 .0
12+ github.com/keptn/go-utils v0.12 .0
1313 github.com/keptn/kubernetes-utils v0.9.0
1414 github.com/spf13/afero v1.8.1
1515 go.uber.org/multierr v1.6.0 // indirect
You can’t perform that action at this time.
0 commit comments