Skip to content

Commit 2316c87

Browse files
vitaliil-jfrogchukka
authored andcommitted
[worker] 1.133.0 release
1 parent e9c2972 commit 2316c87

File tree

6 files changed

+32
-21
lines changed

6 files changed

+32
-21
lines changed

stable/worker/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# JFrog Worker Chart Changelog
22
All changes to this chart will be documented in this file
33

4+
## [101.133.0] - Feb 24, 2025
5+
* Update required services in router configuration
6+
* Use shared.jfrogUrl instead of deprecated router.serviceRegistryUrl and router.serviceRegistry.grpcAddress
7+
8+
## [101.126.0] - Feb 14, 2025
9+
* Change scheme in default router probes
10+
411
## [101.118.0] - Nov 12, 2024
512
* Add startup probe for worker container
613

stable/worker/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v2
2-
appVersion: 1.118.0
2+
appVersion: 1.133.0
33
dependencies:
44
- name: jfrog-common
55
repository: https://charts.jfrog.io/
66
version: 0.0.8
77
description: A Helm chart for Kubernetes
88
name: worker
99
type: application
10-
version: 101.118.0
10+
version: 101.133.0

stable/worker/ci/test-values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ router:
197197
serviceRegistry:
198198
## Service registry (Access) TLS verification skipped if enabled
199199
insecure: true
200-
url: http://tenant1-artifactory:8082
201-
grpcUrl: tenant1-artifactory:8082
202200
internalPort: 8046
203201
externalPort: 8082
204202
tlsEnabled: false
@@ -230,7 +228,7 @@ router:
230228
command:
231229
- sh
232230
- -c
233-
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/liveness
231+
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/liveness
234232
initialDelaySeconds: {{ if semverCompare "<v1.20.0-0" .Capabilities.KubeVersion.Version }}90{{ else }}0{{ end }}
235233
periodSeconds: 5
236234
timeoutSeconds: {{ .Values.probes.timeoutSeconds }}
@@ -243,7 +241,7 @@ router:
243241
# command:
244242
# - sh
245243
# - -c
246-
# - curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
244+
# - curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
247245
# initialDelaySeconds: {{ if semverCompare "<v1.20.0-0" .Capabilities.KubeVersion.Version }}60{{ else }}0{{ end }}
248246
# periodSeconds: 5
249247
# timeoutSeconds: {{ .Values.probes.timeoutSeconds }}
@@ -256,7 +254,7 @@ router:
256254
# command:
257255
# - sh
258256
# - -c
259-
# - curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
257+
# - curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
260258
# initialDelaySeconds: 0
261259
# failureThreshold: 60
262260
# periodSeconds: 5

stable/worker/templates/_helpers.tpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,14 @@ Calculate the systemYaml from the unstructured text input
236236
{{- define "worker.systemYaml" -}}
237237
{{ include (print $.Template.BasePath "/_system-yaml-render.tpl") . }}
238238
{{- end -}}
239+
240+
{{/*
241+
Resolve worker requiredServiceTypes value
242+
*/}}
243+
{{- define "worker.router.requiredServiceTypes" -}}
244+
{{- $requiredTypes := "jfwks" -}}
245+
{{- if .Values.observability.enabled -}}
246+
{{- $requiredTypes = printf "%s,%s" $requiredTypes "jfob" -}}
247+
{{- end -}}
248+
{{- $requiredTypes -}}
249+
{{- end -}}

stable/worker/templates/deployment.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,9 @@ spec:
204204
{{- end }}
205205
env:
206206
- name: JF_ROUTER_TOPOLOGY_LOCAL_REQUIREDSERVICETYPES
207-
value: ""
208-
- name: JF_ROUTER_SERVICEREGISTRY_URL
209-
value: "{{ default (tpl (required "\n\njfrogUrl or global.jfrogUrl is required! This allows to connect to Artifactory.\nYou can copy the JFrog URL from Administration > User Management > Settings > Connection details" (include "worker.jfrogUrl" .)) .) .Values.router.serviceRegistry.url }}/access"
210-
- name: JF_ROUTER_SERVICEREGISTRY_GRPCADDRESS
211-
value: "{{ default (include "worker.jfrogUrlHost" .) .Values.router.serviceRegistry.grpcUrl }}"
207+
value: {{ include "worker.router.requiredServiceTypes" . }}
208+
- name: JF_SHARED_JFROGURL
209+
value: "{{ tpl (required "\n\njfrogUrl or global.jfrogUrl is required! This allows to connect to Artifactory.\nYou can copy the JFrog URL from Administration > User Management > Settings > Connection details" (include "worker.jfrogUrl" .)) . }}"
212210
- name: JF_SHARED_NODE_ID
213211
valueFrom:
214212
fieldRef:
@@ -247,7 +245,7 @@ spec:
247245
command:
248246
- sh
249247
- -c
250-
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
248+
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
251249
{{- end }}
252250
{{- if .Values.router.customReadinessProbe }}
253251
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.router.customReadinessProbe "context" $) | nindent 12 }}
@@ -259,7 +257,7 @@ spec:
259257
command:
260258
- sh
261259
- -c
262-
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
260+
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/readiness
263261
{{- end }}
264262
{{- if .Values.router.customLivenessProbe }}
265263
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.router.customLivenessProbe "context" $) | nindent 12 }}
@@ -269,7 +267,7 @@ spec:
269267
command:
270268
- sh
271269
- -c
272-
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} {{ include "worker.scheme" . }}://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/liveness
270+
- curl -s -k --fail --max-time {{ .Values.probes.timeoutSeconds }} http://localhost:{{ .Values.router.internalPort }}/router/api/v1/system/liveness
273271
initialDelaySeconds: {{ if semverCompare "<v1.20.0-0" .Capabilities.KubeVersion.Version }}90{{ else }}0{{ end }}
274272
timeoutSeconds: {{ .Values.probes.timeoutSeconds }}
275273
{{- end }}

stable/worker/values.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,11 @@ router:
190190
image:
191191
registry: releases-docker.jfrog.io
192192
repository: jfrog/router
193-
tag: 7.149.0
193+
tag: 7.155.0
194194
imagePullPolicy: IfNotPresent
195195
serviceRegistry:
196196
## Service registry (Access) TLS verification skipped if enabled
197197
insecure: false
198-
## Service registry URL and gRPC URL use jfrogUrl by default. Override if needed
199-
# url: https://workersvc-artifactory:8082
200-
# grpcUrl: workersvc-artifactory:8082
201198
internalPort: 8046
202199
externalPort: 8082
203200
tlsEnabled: false
@@ -562,7 +559,7 @@ filebeat:
562559
name: worker-filebeat
563560
image:
564561
repository: docker.elastic.co/beats/filebeat
565-
version: 7.17.26
562+
version: 7.17.28
566563
pullPolicy: IfNotPresent
567564
logstashUrl: "logstash:5044"
568565

@@ -628,7 +625,7 @@ observability:
628625
image:
629626
registry: releases-docker.jfrog.io
630627
repository: jfrog/observability
631-
tag: 1.31.11
628+
tag: 1.31.13
632629
pullPolicy: IfNotPresent
633630
internalPort: 8036
634631
resources: {}

0 commit comments

Comments
 (0)