Skip to content

Commit

Permalink
[pipelines] 1.41.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
amithins committed Jul 7, 2023
1 parent ae5a56b commit 7e05260
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 2 deletions.
5 changes: 5 additions & 0 deletions stable/pipelines/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# JFrog Pipelines Chart Changelog
All changes to this chart to be documented in this file.

## [101.41.3] - Jun 16, 2023
* Add ability to work with redis.fullnameOverride
* Add support to pass db metric parameters in system.yaml
* Add hpa api version to autoscaling/v2 for missing conf

## [101.40.1] - May 31, 2023
* Handle jfrogUrlUI if nothing is set
* Added log-service
Expand Down
4 changes: 2 additions & 2 deletions stable/pipelines/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.40.1
appVersion: 1.41.3
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand Down Expand Up @@ -32,4 +32,4 @@ name: pipelines
sources:
- https://github.com/jfrog/charts
type: application
version: 101.40.1
version: 101.41.3
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-hookhandler-hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if and (.Values.splitServicesToPods) (.Values.pipelines.hookHandler.autoscaling.enabled) -}}
{{ if semverCompare ">=v1.23.0-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{ else }}
apiVersion: autoscaling/v2beta2
{{ end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "pipelines.hookhandler.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if .Values.pipelines.autoscaling.enabled -}}
{{ if semverCompare ">=v1.23.0-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{ else }}
apiVersion: autoscaling/v2beta2
{{ end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "pipelines.services.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-internalapi-hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if and (.Values.splitServicesToPods) (.Values.pipelines.internalapi.autoscaling.enabled) -}}
{{ if semverCompare ">=v1.23.0-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{ else }}
apiVersion: autoscaling/v2beta2
{{ end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "pipelines.internalapi.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,11 @@ spec:
{{- end }}
{{- if .Values.redis.enabled }}
echo "Waiting for Redis to come up...";
{{- if .Values.redis.fullnameOverride }}
until nc -z -w 2 {{ .Values.redis.fullnameOverride }}-master {{ .Values.redis.redisPort }} && echo redis ok; do
{{- else }}
until nc -z -w 2 {{ .Release.Name }}-redis-master {{ .Values.redis.redisPort }} && echo redis ok; do
{{- end }}
sleep 1;
done;
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,11 @@ spec:
{{- end }}
{{- if .Values.redis.enabled }}
echo "Waiting for Redis to come up...";
{{- if .Values.redis.fullnameOverride }}
until nc -z -w 2 {{ .Values.redis.fullnameOverride }}-master {{ .Values.redis.redisPort }} && echo redis ok; do
{{- else }}
until nc -z -w 2 {{ .Release.Name }}-redis-master {{ .Values.redis.redisPort }} && echo redis ok; do
{{- end }}
sleep 1;
done;
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-sync-hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if and ( .Values.splitServicesToPods) (.Values.pipelines.pipelineSync.autoscaling.enabled) -}}
{{ if semverCompare ">=v1.23.0-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{ else }}
apiVersion: autoscaling/v2beta2
{{ end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "pipelines.sync.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions stable/pipelines/templates/pipelines-trigger-hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if and (.Values.splitServicesToPods) (.Values.pipelines.runTrigger.autoscaling.enabled) -}}
{{ if semverCompare ">=v1.23.0-0" .Capabilities.KubeVersion.Version }}
apiVersion: autoscaling/v2
{{ else }}
apiVersion: autoscaling/v2beta2
{{ end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "pipelines.trigger.name" . }}
Expand Down
14 changes: 14 additions & 0 deletions stable/pipelines/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ pipelines:
rotation:
maxSizeMb: 10
maxFiles: 10
db:
metrics:
enabled: false
maxTopSlowQueries: 10

signedPipelines:
enabled: true
Expand Down Expand Up @@ -1324,6 +1328,10 @@ pipelines:
{{- else }}
connectionString: "{{ tpl (printf "postgres://%s:%s@%v:%v/%s" .Values.global.postgresql.user .Values.global.postgresql.password .Values.global.postgresql.host .Values.global.postgresql.port .Values.global.postgresql.database) . }}"
{{- end }}
metrics:
enabled: {{ .Values.pipelines.db.metrics.enabled }}
logging: false
maxTopSlowQueries: {{ .Values.pipelines.db.metrics.maxTopSlowQueries }}
## RabbitMQ configuration
##
Expand Down Expand Up @@ -1428,7 +1436,11 @@ pipelines:
## Redis configuration
##
redis:
{{- if .Values.redis.fullnameOverride }}
ip: {{ .Values.redis.fullnameOverride }}-master
{{- else }}
ip: {{ .Release.Name }}-redis-master
{{- end }}
port: {{ .Values.redis.redisPort }}
{{- if .Values.redis.usePassword }}
password: {{ .Values.redis.password }}
Expand Down Expand Up @@ -1976,6 +1988,8 @@ redis:

usePassword: false

fullnameOverride:

master:
configmap: |-
appendonly yes
Expand Down

0 comments on commit 7e05260

Please sign in to comment.