Skip to content

Commit d1e2580

Browse files
committed
Merge branch 'main' of https://github.com/codefresh-io/gitops-runtime-helm into CR-31824-add-instrumentation
2 parents 8d1f525 + 9beab32 commit d1e2580

File tree

6 files changed

+42
-41
lines changed

6 files changed

+42
-41
lines changed

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
# any change to the chart should go through devops
66
/charts/gitops-runtime/templates @codefresh-io/DevOps
77
/charts/gitops-runtime/tests @codefresh-io/DevOps
8+
9+
# gitops operator crd changes can be approved by some other people
10+
/charts/gitops-runtime/templates/_components/gitops-operator/crds @codefresh-io/DevOps @dmaizel @eti-codefresh @chen-keinan @scme0

charts/gitops-runtime/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ annotations:
1515
artifacthub.io/alternativeName: "codefresh-gitops-runtime"
1616
dependencies:
1717
- name: argo-cd
18-
repository: https://codefresh-io.github.io/argo-helm
18+
repository: https://argoproj.github.io/argo-helm
1919
condition: argo-cd.enabled
20-
version: 8.0.6-9-cap-v3.0.2-2025-09-08-9b30d922
20+
version: 9.0.2
2121
- name: argo-events
2222
repository: https://codefresh-io.github.io/argo-helm
2323
version: 2.4.9-cap-CR-30841

charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ spec:
420420
- Failed
421421
- Terminated
422422
- Suspended
423+
- Skipped
423424
type: string
424425
steps:
425426
items:
@@ -477,6 +478,7 @@ spec:
477478
- Failed
478479
- Terminated
479480
- Suspended
481+
- Skipped
480482
type: string
481483
promoteAppWithCommit:
482484
properties:
@@ -522,7 +524,7 @@ spec:
522524
commitSha:
523525
maxLength: 40
524526
minLength: 7
525-
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
527+
pattern: (^[A-Fa-f0-9]+$|^<no-changes>$)
526528
type: string
527529
type: object
528530
phase:
@@ -580,7 +582,7 @@ spec:
580582
commitSha:
581583
maxLength: 40
582584
minLength: 7
583-
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
585+
pattern: (^[A-Fa-f0-9]+$|^<no-changes>$)
584586
type: string
585587
type: object
586588
phase:

charts/gitops-runtime/values-ha.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ cf-argocd-extras:
7070
argo-cd:
7171
redis-ha:
7272
enabled: true
73+
## Redis image
74+
image:
75+
# -- Redis repository
76+
repository: ecr-public.aws.com/docker/library/redis
77+
# -- Redis tag
78+
tag: 8.2.2-alpine
7379

7480
controller:
7581
replicas: 1

charts/gitops-runtime/values.yaml

Lines changed: 24 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -272,45 +272,35 @@ sealed-secrets:
272272
argo-cd:
273273
enabled: true
274274
fullnameOverride: argo-cd
275-
crds:
276-
install: true
275+
276+
notifications:
277+
enabled: false
278+
279+
redis:
280+
## Redis image
281+
image:
282+
# -- Redis repository
283+
repository: ecr-public.aws.com/docker/library/redis
284+
# -- Redis tag
285+
tag: 8.2.2-alpine
286+
287+
redis-ha:
288+
## Redis-ha image
289+
image:
290+
# -- Redis repository
291+
repository: ecr-public.aws.com/docker/library/redis
292+
# -- Redis tag
293+
tag: 8.2.2-alpine
294+
277295
configs:
278296
cm:
279297
timeout.reconciliation: 20s
280298
accounts.admin: apiKey,login
281299
application.resourceTrackingMethod: annotation+label
282-
resource.customizations.actions.argoproj.io_Rollout: |
283-
mergeBuiltinActions: true
284-
discovery.lua: |
285-
actions = {}
286-
local fullyPromoted = obj.status.currentPodHash == obj.status.stableRS
287-
actions["pause"] = {["disabled"] = fullyPromoted or obj.spec.paused == true}
288-
actions["skip-current-step"] = {["disabled"] = obj.spec.strategy.canary == nil or obj.spec.strategy.canary.steps == nil or obj.status.currentStepIndex == table.getn(obj.spec.strategy.canary.steps)}
289-
return actions
290-
definitions:
291-
- name: pause
292-
action.lua: |
293-
obj.spec.paused = true
294-
return obj
295-
- name: skip-current-step
296-
action.lua: |
297-
if obj.status ~= nil then
298-
if obj.spec.strategy.canary ~= nil and obj.spec.strategy.canary.steps ~= nil and obj.status.currentStepIndex < table.getn(obj.spec.strategy.canary.steps) then
299-
if obj.status.pauseConditions ~= nil and table.getn(obj.status.pauseConditions) > 0 then
300-
obj.status.pauseConditions = nil
301-
end
302-
obj.status.currentStepIndex = obj.status.currentStepIndex + 1
303-
end
304-
end
305-
return obj
300+
application.instanceLabelKey: ""
306301
params:
307302
server.insecure: true
308303
application.namespaces: 'cf-*'
309-
applicationVersioning:
310-
# -- Enable application versioning
311-
enabled: true
312-
# -- Extract application version based on ApplicationConfiguration CRD
313-
useApplicationConfiguration: true
314304
#-----------------------------------------------------------------------------------------------------------------------
315305
# Argo Events
316306
#-----------------------------------------------------------------------------------------------------------------------
@@ -511,14 +501,14 @@ app-proxy:
511501
tag: 1.1.17-main
512502
image:
513503
repository: quay.io/codefresh/cap-app-proxy
514-
tag: 1.3820.0
504+
tag: 1.3883.0
515505
pullPolicy: IfNotPresent
516506
# -- Extra volume mounts for main container
517507
extraVolumeMounts: []
518508
initContainer:
519509
image:
520510
repository: quay.io/codefresh/cap-app-proxy-init
521-
tag: 1.3820.0
511+
tag: 1.3883.0
522512
pullPolicy: IfNotPresent
523513
command:
524514
- ./init.sh
@@ -698,7 +688,7 @@ gitops-operator:
698688
# -- defaults
699689
registry: quay.io
700690
repository: codefresh/codefresh-gitops-operator
701-
tag: "2784cd5"
691+
tag: "293f24f"
702692
env:
703693
<<:
704694
- *otel-config

installer-image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ RUN go install github.com/davidrjonas/semver-cli@latest \
44
&& cp $GOPATH/bin/semver-cli /usr/local/bin/
55

66
#bookworm-slim
7-
FROM debian:12.11-slim
7+
FROM debian:13-slim
88

99
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
1010

11-
ARG CF_CLI_VERSION=v0.2.12
11+
ARG CF_CLI_VERSION=v0.2.14
1212
ARG TARGETARCH
1313

1414
RUN apt-get update && apt-get install curl jq -y
@@ -17,6 +17,6 @@ COPY --from=go-build /usr/local/bin/semver-cli /usr/local/bin/semver-cli
1717

1818
COPY --from=bitnamilegacy/kubectl:1.33.4 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
1919

20-
RUN adduser --shell /bin/bash codefresh
20+
RUN useradd -m -s /bin/bash codefresh
2121
USER codefresh
2222
WORKDIR /home/codefresh

0 commit comments

Comments
 (0)