From 21e19a57bed2c70bcbef01f3106f1a75b9450db6 Mon Sep 17 00:00:00 2001 From: Philipp Plotnikov Date: Fri, 18 Nov 2022 14:36:42 +0400 Subject: [PATCH 01/92] [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 863411a3..f5c6fc57 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1973.1 + newTag: 1.1979.3 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From aab1ea6431ff4ef25fe3264f79a3c6ee703811f9 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Fri, 18 Nov 2022 16:59:42 +0200 Subject: [PATCH 02/92] add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump --- .../_components/codefresh-base/app-proxy.role.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index 66c1ca51..3542a406 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -27,3 +27,11 @@ rules: verbs: - get - list + - apiGroups: + - argoproj.io + resources: + - applications + verbs: + - get + - list + - watch From bbb568cd6f7f1b2fda2c18aea012dafda890260f Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 20 Nov 2022 09:39:59 +0200 Subject: [PATCH 03/92] CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy --- .../codefresh-base/app-proxy.deploy.yaml | 52 ++++++++++++++++--- 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 035e3ccf..9989a8ad 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -14,6 +14,34 @@ spec: app: cap-app-proxy spec: serviceAccountName: cap-app-proxy + initContainers: + - name: init-certs + image: alpine:3.16 + imagePullPolicy: Always + command: + - sh + - -c + - | + /bin/sh <<'EOF' + if [ $(ls /app/config/tls) ]; then + echo "concatenating certs into /app/config/all/all.cer" + cat /app/config/tls/* >> /app/config/all/all.cer + else + echo "no certs to concatenate" + fi + EOF + volumeMounts: + - mountPath: /app/config/tls + name: tls-certs + - mountPath: /app/config/all + name: all-certs + resources: + limits: + memory: 512Mi + cpu: '1' + requests: + memory: 256Mi + cpu: '0.2' containers: - env: - name: ARGO_CD_URL @@ -120,6 +148,8 @@ spec: name: cap-app-proxy-cm key: stripPrefix optional: true + - name: NODE_EXTRA_CA_CERTS + value: /app/config/all/all.cer image: quay.io/codefresh/cap-app-proxy imagePullPolicy: Always name: cap-app-proxy @@ -141,12 +171,22 @@ spec: containerPort: 80 resources: requests: - memory: "512Mi" - ephemeral-storage: "2Gi" - cpu: "100m" + memory: '512Mi' + ephemeral-storage: '2Gi' + cpu: '100m' limits: - memory: "1Gi" - ephemeral-storage: "6Gi" - cpu: "1500m" + memory: '1Gi' + ephemeral-storage: '6Gi' + cpu: '1500m' securityContext: allowPrivilegeEscalation: false + volumeMounts: + - mountPath: /app/config/all + name: all-certs + volumes: + - name: all-certs + emptyDir: {} + - configMap: + defaultMode: 420 + name: argocd-tls-certs-cm + name: tls-certs From 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Sun, 20 Nov 2022 17:13:28 +0200 Subject: [PATCH 04/92] move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel --- VERSION | 2 +- .../argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- csdp/base_components/bootstrap/kustomization.yaml | 4 ++-- csdp/hybrid/basic/runtime.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 7ac4e5e3..71d6a66e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.13 +0.1.14 diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index 68340126..a63d3d10 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.3/manifests/install.yaml \ No newline at end of file +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 23dcf61b..ff539b94 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.3.4-cap-CR-15024-resource-tree-labels + newTag: v2.4.15-cap-CR-15028-last-changes - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/base_components/bootstrap/kustomization.yaml b/csdp/base_components/bootstrap/kustomization.yaml index 6192f611..76b29f91 100644 --- a/csdp/base_components/bootstrap/kustomization.yaml +++ b/csdp/base_components/bootstrap/kustomization.yaml @@ -9,8 +9,8 @@ configMapGenerator: - name: codefresh-cm behavior: create literals: # order matters - DO NOT change - - version=0.1.13 # Runtime version - - bootstrapRevision=0.1.13 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) + - version=0.1.14 # Runtime version + - bootstrapRevision=0.1.14 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) - appsetRequeueTime=15 replacements: # template the version from the configmap into the applicationset generators diff --git a/csdp/hybrid/basic/runtime.yaml b/csdp/hybrid/basic/runtime.yaml index 14ef8f59..2be919f5 100644 --- a/csdp/hybrid/basic/runtime.yaml +++ b/csdp/hybrid/basic/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: requiredCLIVersion: ^0.1.0 - version: 0.1.13 + version: 0.1.14 bootstrapSpecifier: github.com/codefresh-io/csdp-official/csdp/hybrid/basic/apps/argo-cd components: - name: events From 9913fae3833dfcb7535b0353646837f192b54f43 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 20 Nov 2022 20:02:09 +0200 Subject: [PATCH 05/92] bumped app-proxy to 1.1982.0 (#132) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index f5c6fc57..b663eeae 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1979.3 + newTag: 1.1982.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From aeeeb3a623e87ae03b61b767ebd7e40d197df144 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Thu, 24 Nov 2022 11:53:25 +0200 Subject: [PATCH 06/92] fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh --- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 ----- csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 5 +---- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index ff539b94..9429460a 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-CR-15028-last-changes + newTag: v2.4.15-cap-fix-applicationset - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml deleted file mode 100644 index d216f483..00000000 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1alpha1 -kind: Component -images: - - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-CR-15028-last-changes diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index c5ebb618..fed45edc 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,8 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd -resources: - - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_components/codefresh-base - - ../../../_components/apps/argo-cd/codefresh-hybrid + - ../../../../base_components/apps/argo-cd/_bundles/basic From 27d6d60094f0b8d2810fcf5a30cc6c5256d15648 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Tue, 29 Nov 2022 14:51:05 +0200 Subject: [PATCH 07/92] bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index b663eeae..a8de604c 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1982.0 + newTag: 1.1991.1 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From e1341d11c78c5427e6d9227ff129bdead8d8cb6d Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Tue, 29 Nov 2022 16:07:54 +0200 Subject: [PATCH 08/92] CR-14423 (#136) app proxy update --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index a8de604c..6a40db6d 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1991.1 + newTag: 1.1991.3 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From b63acd370d980475357e745110ac66bd11a0c39f Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Wed, 30 Nov 2022 18:53:48 +0200 Subject: [PATCH 09/92] Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix --- .../argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 +++++ csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 6 +++++- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index a63d3d10..68340126 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.3/manifests/install.yaml \ No newline at end of file diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 9429460a..23dcf61b 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-fix-applicationset + newTag: v2.3.4-cap-CR-15024-resource-tree-labels - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml new file mode 100644 index 00000000..d216f483 --- /dev/null +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component +images: + - name: quay.io/codefresh/argocd + newTag: v2.4.15-cap-CR-15028-last-changes diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index fed45edc..dbf7fd53 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,5 +1,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd +resources: + - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_bundles/basic + - ../../../../base_components/apps/argo-cd/_components/codefresh-base + - ../../../_components/apps/argo-cd/codefresh-hybrid + From 30f438e582f1aaca53884ea05b374725bf8a6485 Mon Sep 17 00:00:00 2001 From: Andrii Shaforostov Date: Fri, 2 Dec 2022 14:10:23 +0200 Subject: [PATCH 10/92] update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 6a40db6d..181a8260 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1991.3 + newTag: 1.1995.2 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From b82f6ea010c6410717cfea6c158980840330269b Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Sun, 4 Dec 2022 10:47:07 +0200 Subject: [PATCH 11/92] fix appProtocol for argocd-server to support Istio (#140) --- .../argo-cd/_components/codefresh-base/kustomization.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 23dcf61b..2f1768f0 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -30,6 +30,9 @@ patches: - op: replace path: /subjects/0/namespace value: default + + # Istio protocol selection: https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/ + # Ovveride the default protocol selection which is done by the port name (http), since this port is being used for both http and grpc. - target: version: v1 kind: Service @@ -37,10 +40,7 @@ patches: patch: | - op: add path: /spec/ports/0/appProtocol - value: grpc - - op: add - path: /spec/ports/1/appProtocol - value: grpc + value: tcp - target: name: argocd-repo-server From 31cc7364a5510aa2696b06a88e6c1797cac718cf Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Sun, 4 Dec 2022 13:10:18 +0200 Subject: [PATCH 12/92] Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel --- .../argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 ----- csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 6 +----- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index 68340126..a63d3d10 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.3/manifests/install.yaml \ No newline at end of file +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 2f1768f0..94ea81b0 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.3.4-cap-CR-15024-resource-tree-labels + newTag: v2.4.15-cap-fix-applicationset - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml deleted file mode 100644 index d216f483..00000000 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1alpha1 -kind: Component -images: - - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-CR-15028-last-changes diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index dbf7fd53..fed45edc 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,9 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd -resources: - - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_components/codefresh-base - - ../../../_components/apps/argo-cd/codefresh-hybrid - + - ../../../../base_components/apps/argo-cd/_bundles/basic From ce2330bda66d12c2a0deb2c795865cc30af7c82c Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Tue, 13 Dec 2022 11:26:08 +0200 Subject: [PATCH 13/92] upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 --- .../codefresh-base/kustomization.yaml | 56 +++++++------------ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index a52213dd..89346242 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -1,18 +1,9 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://github.com/codefresh-io/argo-workflows/releases/download/v3.2.6-cap-CR-8697/install.yaml -patches: - # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: ClusterRoleBinding - patch: |- - - op: replace - path: /subjects/0/namespace - value: default + - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cf/install.yaml +patches: - target: group: apps version: v1 @@ -22,29 +13,22 @@ patches: - op: add path: /spec/template/spec/containers/0/args/- value: --auth-mode=server - -patchesStrategicMerge: - - | - apiVersion: v1 - kind: ConfigMap - metadata: + - target: + version: v1 + kind: ConfigMap name: workflow-controller-configmap - data: - # Fields reference can be found here: https://argoproj.github.io/argo-workflows/workflow-controller-configmap.yaml - workflowDefaults: | - spec: - ttlStrategy: - secondsAfterCompletion: 86400 - secondsAfterSuccess: 86400 - secondsAfterFailure: 86400 - podGC: - strategy: OnWorkflowCompletion - labelSelector: - matchLabels: - should-be-deleted: "true" - -configMapGenerator: - - name: workflow-controller-configmap - behavior: merge - literals: - - containerRuntimeExecutor=emissary \ No newline at end of file + patch: |- + - op: add + path: /data + value: + workflowDefaults: | + spec: + ttlStrategy: + secondsAfterCompletion: 86400 + secondsAfterSuccess: 86400 + secondsAfterFailure: 86400 + podGC: + strategy: OnWorkflowCompletion + labelSelector: + matchLabels: + should-be-deleted: "true" From cf57c76107aa40971ba52ed4f229a9f29bed49e1 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Sun, 18 Dec 2022 10:07:05 +0200 Subject: [PATCH 14/92] Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh --- .../codefresh-base/app-proxy.crb.yaml | 6 +++--- .../codefresh-base/app-proxy.deploy.yaml | 18 +++++++----------- .../codefresh-base/kustomization.yaml | 2 +- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml index 91d5d357..63e1e8e5 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml @@ -7,6 +7,6 @@ roleRef: kind: ClusterRole name: argo-server-cluster-role subjects: -- kind: ServiceAccount - name: cap-app-proxy - namespace: default + - kind: ServiceAccount + name: cap-app-proxy + namespace: default diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 9989a8ad..0799f221 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -33,6 +33,7 @@ spec: volumeMounts: - mountPath: /app/config/tls name: tls-certs + readOnly: true - mountPath: /app/config/all name: all-certs resources: @@ -50,17 +51,11 @@ spec: name: cap-app-proxy-cm key: argoCdUrl optional: true - - name: ARGO_CD_USERNAME - valueFrom: - configMapKeyRef: - name: cap-app-proxy-cm - key: argoCdUsername - optional: true - - name: ARGO_CD_PASSWORD + - name: ARGO_CD_TOKEN valueFrom: secretKeyRef: - name: argocd-initial-admin-secret - key: password + name: argocd-token + key: token - name: ARGO_WORKFLOWS_INSECURE valueFrom: configMapKeyRef: @@ -183,10 +178,11 @@ spec: volumeMounts: - mountPath: /app/config/all name: all-certs + readOnly: true volumes: - name: all-certs emptyDir: {} - - configMap: + - name: tls-certs + configMap: defaultMode: 420 name: argocd-tls-certs-cm - name: tls-certs diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 181a8260..e78dbd6b 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.1995.2 + newTag: 1.2016.2 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 57eee662350fe610ad6324a6631157788b9281af Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Mon, 19 Dec 2022 15:01:03 +0200 Subject: [PATCH 15/92] CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 94ea81b0..8f835096 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-fix-applicationset + newTag: v2.4.15-cap-CR-15677-rollout-rollback - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 7f5929bc34e51b37355e74dcf1c24b0f3fb47095 Mon Sep 17 00:00:00 2001 From: danielm-codefresh Date: Wed, 21 Dec 2022 16:42:05 +0200 Subject: [PATCH 16/92] Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. --- .../codefresh-base/kustomization.yaml | 56 ++++++++++++------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index 89346242..a52213dd 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -1,9 +1,18 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cf/install.yaml - +- https://github.com/codefresh-io/argo-workflows/releases/download/v3.2.6-cap-CR-8697/install.yaml patches: + # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns + - target: + group: rbac.authorization.k8s.io + version: v1 + kind: ClusterRoleBinding + patch: |- + - op: replace + path: /subjects/0/namespace + value: default + - target: group: apps version: v1 @@ -13,22 +22,29 @@ patches: - op: add path: /spec/template/spec/containers/0/args/- value: --auth-mode=server - - target: - version: v1 - kind: ConfigMap + +patchesStrategicMerge: + - | + apiVersion: v1 + kind: ConfigMap + metadata: name: workflow-controller-configmap - patch: |- - - op: add - path: /data - value: - workflowDefaults: | - spec: - ttlStrategy: - secondsAfterCompletion: 86400 - secondsAfterSuccess: 86400 - secondsAfterFailure: 86400 - podGC: - strategy: OnWorkflowCompletion - labelSelector: - matchLabels: - should-be-deleted: "true" + data: + # Fields reference can be found here: https://argoproj.github.io/argo-workflows/workflow-controller-configmap.yaml + workflowDefaults: | + spec: + ttlStrategy: + secondsAfterCompletion: 86400 + secondsAfterSuccess: 86400 + secondsAfterFailure: 86400 + podGC: + strategy: OnWorkflowCompletion + labelSelector: + matchLabels: + should-be-deleted: "true" + +configMapGenerator: + - name: workflow-controller-configmap + behavior: merge + literals: + - containerRuntimeExecutor=emissary \ No newline at end of file From 339f028a8a833ac4069248d077ff03ba3e2f33ed Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Mon, 2 Jan 2023 17:28:45 +0200 Subject: [PATCH 17/92] upgrade argo-rollouts to 1.4.0 (#152) --- .../argo-rollouts/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml index 49c9c502..015ca99f 100644 --- a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.2.0-cap-CR-10626/install.yaml + - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.4.0-cap-CR-10626/install.yaml patches: - target: group: apiextensions.k8s.io From 6d8e32bab2d6c82f38a9baded194277033e7f543 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Tue, 3 Jan 2023 09:33:09 +0200 Subject: [PATCH 18/92] bump app-proxy (#155) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index e78dbd6b..29cac758 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2016.2 + newTag: 1.2033.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From d23d40d39d55d73a5f2966a9d8068525270a24b7 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Tue, 10 Jan 2023 10:52:16 +0200 Subject: [PATCH 19/92] Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh --- .../codefresh-base/kustomization.yaml | 57 +++++++------------ 1 file changed, 21 insertions(+), 36 deletions(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index a52213dd..ac15e3c1 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -1,18 +1,10 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component +namespace: default resources: -- https://github.com/codefresh-io/argo-workflows/releases/download/v3.2.6-cap-CR-8697/install.yaml -patches: - # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: ClusterRoleBinding - patch: |- - - op: replace - path: /subjects/0/namespace - value: default + - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4-cap-CR-15902/install.yaml +patches: - target: group: apps version: v1 @@ -22,29 +14,22 @@ patches: - op: add path: /spec/template/spec/containers/0/args/- value: --auth-mode=server - -patchesStrategicMerge: - - | - apiVersion: v1 - kind: ConfigMap - metadata: + - target: + version: v1 + kind: ConfigMap name: workflow-controller-configmap - data: - # Fields reference can be found here: https://argoproj.github.io/argo-workflows/workflow-controller-configmap.yaml - workflowDefaults: | - spec: - ttlStrategy: - secondsAfterCompletion: 86400 - secondsAfterSuccess: 86400 - secondsAfterFailure: 86400 - podGC: - strategy: OnWorkflowCompletion - labelSelector: - matchLabels: - should-be-deleted: "true" - -configMapGenerator: - - name: workflow-controller-configmap - behavior: merge - literals: - - containerRuntimeExecutor=emissary \ No newline at end of file + patch: |- + - op: add + path: /data + value: + workflowDefaults: | + spec: + ttlStrategy: + secondsAfterCompletion: 86400 + secondsAfterSuccess: 86400 + secondsAfterFailure: 86400 + podGC: + strategy: OnWorkflowCompletion + labelSelector: + matchLabels: + should-be-deleted: "true" From 88126ede0ea2a82bd37b6d08a43ea0c3e4b28fa6 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Tue, 10 Jan 2023 11:20:56 +0200 Subject: [PATCH 20/92] automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes --- .github/workflows/release.yaml | 13 +++++++++++++ docs/releases/release_notes.md | 6 ++++++ 2 files changed, 19 insertions(+) create mode 100644 docs/releases/release_notes.md diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 884f9de8..b4334e7a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,6 +24,7 @@ jobs: token: ${{ secrets.RELEASE_TOKEN }} tag: ${{ env.NEW_TAG }} name: "runtime-v${{ env.NEW_TAG }}" + bodyFile: "docs/releases/release_notes.md" advance-latest-tag: runs-on: ubuntu-latest @@ -72,3 +73,15 @@ jobs: ref: "refs/tags/stable", sha: context.sha }) + + sync-main-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + + - name: Merge release branch -> main + uses: devmasx/merge-branch@master + with: + type: now + target_branch: main + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md new file mode 100644 index 00000000..2b3c5cd9 --- /dev/null +++ b/docs/releases/release_notes.md @@ -0,0 +1,6 @@ +Installed Components: +Argo CD v2.4.0 +Argo Events v1.7.2 +Argo Rollouts v1.4.0 +Argo Workflows v3.2.6 +Sealed Secrets 0.17.5 From 837d3ecd842dc9fa11e6067ead7f91e066eb5d04 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Sun, 15 Jan 2023 09:12:08 +0200 Subject: [PATCH 21/92] bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 29cac758..397b59d3 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2033.0 + newTag: 1.2052.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 0c63e7e4bc984565c3a70ec8ad9377bc4e921903 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 15 Jan 2023 14:48:06 +0200 Subject: [PATCH 22/92] bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token --- .../_components/codefresh-base/app-proxy.deploy.yaml | 12 +++++++++--- .../_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 0799f221..2c8a8112 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -51,11 +51,17 @@ spec: name: cap-app-proxy-cm key: argoCdUrl optional: true - - name: ARGO_CD_TOKEN + - name: ARGO_CD_USERNAME + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: argoCdUsername + optional: true + - name: ARGO_CD_PASSWORD valueFrom: secretKeyRef: - name: argocd-token - key: token + name: argocd-initial-admin-secret + key: password - name: ARGO_WORKFLOWS_INSECURE valueFrom: configMapKeyRef: diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 397b59d3..0a7be6fc 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2052.0 + newTag: 1.2056.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From e6d4a88dc85979eaa8273730e48d61547fe5b7cd Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Mon, 16 Jan 2023 10:42:29 +0200 Subject: [PATCH 23/92] Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments --- .../_components/codefresh-base/app-proxy.role.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index 3542a406..cfcc6281 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -27,6 +27,14 @@ rules: verbs: - get - list + - apiGroups: + - "apps" + resources: + - deployments + verbs: + - get + - list + - patch - apiGroups: - argoproj.io resources: From a6b2dc1bb39ec92b27484a0a4ac9dc41960c2c90 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 16 Jan 2023 17:17:05 +0200 Subject: [PATCH 24/92] Cr visa sw (#164) * new rollouts version * update rollouts --- .../argo-rollouts/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml index 015ca99f..4b303690 100644 --- a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.4.0-cap-CR-10626/install.yaml + - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.4.0-cap-sw/install.yaml patches: - target: group: apiextensions.k8s.io From 5bb8e16f381d18cbc97ddcd795a58e8400d903f4 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Wed, 18 Jan 2023 18:36:06 +0200 Subject: [PATCH 25/92] Add all release managers as code owners (#166) add all release managers as code owners --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 89be8ca1..b0e7e47d 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* daniel.maizel@codefresh.io roi.kramer@codefresh.io oren.gurfinkel@codefresh.io itai@codefresh.io noam.gal@codefresh.io pavel@codefresh.io ziv@codefresh.io +* daniel.maizel@codefresh.io roi.kramer@codefresh.io itai@codefresh.io noam.gal@codefresh.io pavel@codefresh.io ziv@codefresh.io daniel.soifer@codefresh.io victor.khazanov@codefresh.io denis@codefresh.io yaroslav@codefresh.io From deae19b465419e4d5c2bd10dbfc6240cec4b8f55 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Wed, 18 Jan 2023 19:06:04 +0200 Subject: [PATCH 26/92] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b4334e7a..793dc87b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -84,4 +84,4 @@ jobs: with: type: now target_branch: main - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.SYNC_RELEASE_TO_MAIN_TOKEN }} From f19cd813ee34a92ef6d1cba2c30576e1d70098cf Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Wed, 25 Jan 2023 14:12:28 +0200 Subject: [PATCH 27/92] Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back --- .../apps/argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index a63d3d10..7344a9bb 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.4/manifests/install.yaml +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.5/manifests/install.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 8f835096..d57f34ad 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.4.15-cap-CR-15677-rollout-rollback + newTag: v2.5.5-cap-CR-fix-kustomize-v3 - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From e939ebbc73d459957f219a42ca448b35aa0dfb76 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 26 Jan 2023 11:13:26 +0200 Subject: [PATCH 28/92] Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 0a7be6fc..9e1c2bf9 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2056.0 + newTag: 1.2081.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 6758dda998d44f63cf2d8c0b8ede4512133faa94 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Mon, 30 Jan 2023 17:43:16 +0200 Subject: [PATCH 29/92] bump-app-proxy (#170) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 9e1c2bf9..a7d116fb 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2081.0 + newTag: 1.2084.2 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 7cc2701cefa28fcabcdda880c33b1caad0fe4c64 Mon Sep 17 00:00:00 2001 From: roi-codefresh Date: Thu, 2 Feb 2023 14:00:20 +0200 Subject: [PATCH 30/92] bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index d57f34ad..fd1f84d6 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.5.5-cap-CR-fix-kustomize-v3 + newTag: v2.5.5-cap-CR-16950 - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 5f55189b711e9195e4f573034349b26c930ec0c8 Mon Sep 17 00:00:00 2001 From: pysarenko-bohdan Date: Tue, 7 Feb 2023 16:31:09 +0200 Subject: [PATCH 31/92] add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip --- VERSION | 2 +- add-cluster/Dockerfile | 6 ++++++ add-cluster/add-cluster.sh | 15 ++++++++------- add-cluster/kustomize/job.yaml | 5 +++++ 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index 7e72641b..001d7528 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.22 +0.1.23 diff --git a/add-cluster/Dockerfile b/add-cluster/Dockerfile index dbbb4b59..1f111127 100644 --- a/add-cluster/Dockerfile +++ b/add-cluster/Dockerfile @@ -1,5 +1,11 @@ FROM bitnami/kubectl:1.24 +# curl was removed in the latest patches of bitnami/kubectl. Needs install it again. +USER root +RUN apt-get update && apt-get install -y curl + +# set back user used in bitnami/kubectl +USER 1001 WORKDIR /src COPY add-cluster.sh . diff --git a/add-cluster/add-cluster.sh b/add-cluster/add-cluster.sh index 22a576bd..d8342269 100755 --- a/add-cluster/add-cluster.sh +++ b/add-cluster/add-cluster.sh @@ -7,6 +7,7 @@ # LABELS (cm - optional) # ANNOTATIONS (cm - optional) # CSDP_TOKEN_SECRET +# SKIP_TLS_VALIDATION (cm - optional) SECRET_NAME="" @@ -40,20 +41,20 @@ echo "Server: ${SERVER}" # Path to ServiceAccount token SERVICEACCOUNT=/var/run/secrets/kubernetes.io/serviceaccount - # Read this Pod's namespace NAMESPACE=$(cat ${SERVICEACCOUNT}/namespace) - -# Reference the internal certificate authority (CA) -CACERT=${SERVICEACCOUNT}/ca.crt - # get ServiceAccount token get_service_account_secret_name || exit 1 BEARER_TOKEN=$(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath='{.data.token}' | base64 -d) - # write KUBE_COPNFIG_DATA to local file CLUSTER_NAME=$(echo ${SERVER} | sed s/'http[s]\?:\/\/'//) -kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --certificate-authority="${CACERT}" || exit 1 +if [[ $SKIP_TLS_VALIDATION == 'true' ]] +then + kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" || exit 1 +else + # Reference the internal certificate authority (CA) + kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --certificate-authority="${SERVICEACCOUNT}/ca.crt" || exit 1 +fi kubectl config set-credentials "${SERVICE_ACCOUNT_NAME}" --token "${BEARER_TOKEN}" || exit 1 kubectl config set-context "${CONTEXT_NAME}" --cluster="${CLUSTER_NAME}" --user="${SERVICE_ACCOUNT_NAME}" || exit 1 diff --git a/add-cluster/kustomize/job.yaml b/add-cluster/kustomize/job.yaml index f949ef2a..ca56539d 100644 --- a/add-cluster/kustomize/job.yaml +++ b/add-cluster/kustomize/job.yaml @@ -44,6 +44,11 @@ spec: configMapKeyRef: name: csdp-add-cluster-cm key: server + - name: SKIP_TLS_VALIDATION + valueFrom: + configMapKeyRef: + name: csdp-add-cluster-cm + key: skipTLSValidation - name: CSDP_TOKEN_SECRET value: $(CSDP_ADD_CLUSTER_SECRET) volumeMounts: From c0dd06e4e1acf097e2a3042f33412d36b44dac1e Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Wed, 8 Feb 2023 12:31:23 +0200 Subject: [PATCH 32/92] Cr 17082 (#177) * security patch * security patch * security patch --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index fd1f84d6..7a25dae3 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.5.5-cap-CR-16950 + newTag: v2.5.5-cap-CR-verify-aud-claim - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From fc753b5cdcf1931a993af9e8e5fcb1240928b54d Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Wed, 8 Feb 2023 15:35:38 +0200 Subject: [PATCH 33/92] add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy --- .../_components/codefresh-base/app-proxy.deploy.yaml | 6 ++++++ .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 180b17fe..d79e8627 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -161,6 +161,12 @@ spec: name: cap-app-proxy-cm key: stripPrefix optional: true + - name: SKIP_PERMISSIONS_VALIDATION + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: skipPermissionsValidation + optional: true - name: NODE_EXTRA_CA_CERTS value: /app/config/all/all.cer image: quay.io/codefresh/cap-app-proxy diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index a7d116fb..0ef9d692 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2084.2 + newTag: 1.2098.1 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From cf5fbb2eb6b8d8aa3807a370289b7cd1e58f8f24 Mon Sep 17 00:00:00 2001 From: pysarenko-bohdan Date: Fri, 10 Feb 2023 15:45:36 +0200 Subject: [PATCH 34/92] CR-16741-config-fix (#179) fix job yaml --- add-cluster/kustomize/job.yaml | 3 ++- csdp/hybrid/kustomization.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/add-cluster/kustomize/job.yaml b/add-cluster/kustomize/job.yaml index ca56539d..75f5cf3c 100644 --- a/add-cluster/kustomize/job.yaml +++ b/add-cluster/kustomize/job.yaml @@ -48,7 +48,8 @@ spec: valueFrom: configMapKeyRef: name: csdp-add-cluster-cm - key: skipTLSValidation + key: skipTLSValidation + optional: true - name: CSDP_TOKEN_SECRET value: $(CSDP_ADD_CLUSTER_SECRET) volumeMounts: diff --git a/csdp/hybrid/kustomization.yaml b/csdp/hybrid/kustomization.yaml index d1f93153..5e1a7207 100644 --- a/csdp/hybrid/kustomization.yaml +++ b/csdp/hybrid/kustomization.yaml @@ -1,4 +1,4 @@ -# For backward compatibility - After change in csdp-managed-runtimes needs to be removed +# For backward compatibility - After change in csdp-managed-runtimes needs to be removed apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization From 3e239a81fcf82ca4446c9cb815f390b7474c5207 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Tue, 14 Feb 2023 13:06:57 +0200 Subject: [PATCH 35/92] update argo workflows to fix empty page issue (#182) --- .../_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index ac15e3c1..ccff03cb 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component namespace: default resources: - - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4-cap-CR-15902/install.yaml + - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cap-CR-16945/install.yaml patches: - target: From 841403a99bf119c90fa006accce4d1ff9de3f53e Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Wed, 15 Feb 2023 17:11:37 +0200 Subject: [PATCH 36/92] fixed role resource name (#183) --- .../app-proxy/_components/codefresh-base/app-proxy.role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index cfcc6281..74b0eb9f 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -9,7 +9,7 @@ rules: - "" resources: - secrets - - configmap + - configmaps - pods verbs: - get From 9f56febd3030bc3092c294816b819f2001439720 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 20 Feb 2023 16:25:13 +0200 Subject: [PATCH 37/92] Cr argocd 26 (#184) * argocd 2.6 * change version * change version --- .../apps/argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index 7344a9bb..551605f2 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.5/manifests/install.yaml +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6/manifests/install.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 7a25dae3..7e42a2ad 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.5.5-cap-CR-verify-aud-claim + newTag: v2.6.0-cap-CR-fix-eventsource - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 92560c304ac13f218a9c91dc184e57392b82add7 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 21 Feb 2023 17:11:37 +0200 Subject: [PATCH 38/92] new argo version (#187) --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 7e42a2ad..a4f336c3 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-fix-eventsource + newTag: v2.6.0-cap-CR-fix-rollout-rollback - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 2df674ed02b6801c17b928959404b4270dc2407c Mon Sep 17 00:00:00 2001 From: danielm-codefresh Date: Thu, 23 Feb 2023 12:24:59 +0200 Subject: [PATCH 39/92] Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. --- .../_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index ccff03cb..ac15e3c1 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component namespace: default resources: - - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cap-CR-16945/install.yaml + - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4-cap-CR-15902/install.yaml patches: - target: From 0b7f3837fa1a166f3426abd2f5e67b58a11a2c86 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Fri, 24 Feb 2023 16:12:30 +0200 Subject: [PATCH 40/92] argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml --- .../_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml index ac15e3c1..b12a202d 100644 --- a/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-workflows/_components/codefresh-base/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component namespace: default resources: - - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4-cap-CR-15902/install.yaml + - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cap-CR-17426/install.yaml patches: - target: From 0a75a996a325ad0bfe859db0c3d810f33a147157 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Wed, 1 Mar 2023 11:16:12 +0200 Subject: [PATCH 41/92] Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version --- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 +++++ csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml new file mode 100644 index 00000000..9f92c537 --- /dev/null +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component +images: + - name: quay.io/codefresh/argocd + newTag: v2.6.0-cap-CR-appset-update \ No newline at end of file diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index fed45edc..aa41dbb7 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,5 +1,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd +resources: + - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6-with-appset/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_bundles/basic + - ../../../../base_components/apps/argo-cd/_components/codefresh-base + - ../../../_components/apps/argo-cd/codefresh-hybrid \ No newline at end of file From 385e24cbbd72ecff1c1c754d51ed1ffc334e6c22 Mon Sep 17 00:00:00 2001 From: vadim-kharin-codefresh Date: Thu, 2 Mar 2023 12:56:27 +0200 Subject: [PATCH 42/92] Bump app-proxy to 1.2133.0 (#192) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 0ef9d692..d3305d22 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2098.1 + newTag: 1.2133.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 05590ef9881d7645ff3025bdbdd44b77b8be2214 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 2 Mar 2023 19:06:03 +0200 Subject: [PATCH 43/92] bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index d3305d22..99efa749 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2133.0 + newTag: 1.2140.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 1a741deb14890133eca26a6829722f186f1d07eb Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Mon, 6 Mar 2023 15:25:08 +0200 Subject: [PATCH 44/92] CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- .../_components/codefresh-base/kustomization.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 99efa749..98ea8e93 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2140.0 + newTag: 1.2143.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml diff --git a/csdp/base_components/apps/sealed-secrets/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/sealed-secrets/_components/codefresh-base/kustomization.yaml index f90d3807..7d3d9b7e 100644 --- a/csdp/base_components/apps/sealed-secrets/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/sealed-secrets/_components/codefresh-base/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.17.5/controller.yaml + - https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.19.4/controller.yaml patches: - target: @@ -15,7 +15,7 @@ patches: value: --key-renew-period=720h - op: replace path: /spec/template/spec/containers/0/image - value: quay.io/codefresh/sealed-secrets-controller:v0.17.5 + value: quay.io/codefresh/sealed-secrets-controller:v0.19.4 - op: add path: /spec/template/spec/containers/0/resources value: From 63540e2f2848064f91864be5717a7e4d94bfa9e1 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Tue, 7 Mar 2023 13:46:31 +0200 Subject: [PATCH 45/92] updated role (#194) * updated role --- .../codefresh-base/app-proxy.crb.yaml | 6 +- .../codefresh-base/app-proxy.rb.yaml | 4 +- .../codefresh-base/app-proxy.role.yaml | 83 ++++++++++--------- .../codefresh-base/app-proxy.svc.yaml | 8 +- .../codefresh-base/kustomization.yaml | 20 ++--- 5 files changed, 64 insertions(+), 57 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml index 63e1e8e5..91d5d357 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml @@ -7,6 +7,6 @@ roleRef: kind: ClusterRole name: argo-server-cluster-role subjects: - - kind: ServiceAccount - name: cap-app-proxy - namespace: default +- kind: ServiceAccount + name: cap-app-proxy + namespace: default diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml index 67412cfd..e32a5155 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml @@ -9,5 +9,5 @@ roleRef: kind: Role name: cap-app-proxy subjects: - - kind: ServiceAccount - name: cap-app-proxy +- kind: ServiceAccount + name: cap-app-proxy diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index 74b0eb9f..f8bc7274 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -5,41 +5,48 @@ metadata: app: cap-app-proxy name: cap-app-proxy rules: - - apiGroups: - - "" - resources: - - secrets - - configmaps - - pods - verbs: - - get - - create - - delete - - deletecollection - - update - - patch - - list - - watch - - apiGroups: - - "" - resources: - - services - verbs: - - get - - list - - apiGroups: - - "apps" - resources: - - deployments - verbs: - - get - - list - - patch - - apiGroups: - - argoproj.io - resources: - - applications - verbs: - - get - - list - - watch +- apiGroups: + - "" + resources: + - secrets + - configmaps + - pods + verbs: + - get + - create + - delete + - deletecollection + - update + - patch + - list + - watch +- apiGroups: + - "" + resources: + - services + verbs: + - get + - list +- apiGroups: + - apps + resources: + - deployments + - statefulsets + verbs: + - get + - list + - patch +- apiGroups: + - argoproj.io + resources: + - applications + - applicationsets + - appprojects + verbs: + - create + - get + - list + - watch + - update + - delete + - patch diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml index 6e3ef035..032b1482 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml @@ -8,7 +8,7 @@ spec: selector: app: cap-app-proxy ports: - - name: http - port: 3017 - protocol: TCP - targetPort: http + - name: http + port: 3017 + protocol: TCP + targetPort: http diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 98ea8e93..9ab70d8a 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -1,14 +1,14 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component images: - - name: quay.io/codefresh/cap-app-proxy - newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2143.0 +- name: quay.io/codefresh/cap-app-proxy + newName: quay.io/codefresh/cap-app-proxy + newTag: 1.2143.0 resources: - - app-proxy.deploy.yaml - - app-proxy.svc.yaml - - app-proxy.sa.yaml - - app-proxy.rb.yaml - - app-proxy.crb.yaml - - app-proxy.role.yaml - - app-proxy.cm.yaml +- app-proxy.deploy.yaml +- app-proxy.svc.yaml +- app-proxy.sa.yaml +- app-proxy.rb.yaml +- app-proxy.crb.yaml +- app-proxy.role.yaml +- app-proxy.cm.yaml From a0b1ff4c2c35d340ea66007d3c813a4f22c75839 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 9 Mar 2023 10:18:53 +0200 Subject: [PATCH 46/92] added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. --- .../codefresh-base/app-proxy.deploy.yaml | 110 +++++++++++++++++- 1 file changed, 106 insertions(+), 4 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index d79e8627..f2f3689d 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -45,6 +45,12 @@ spec: cpu: '0.2' containers: - env: + - name: ARGO_CD_INSECURE + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: argoCdInsecure + optional: true - name: ARGO_CD_URL valueFrom: configMapKeyRef: @@ -92,6 +98,54 @@ spec: name: cap-app-proxy-cm key: env optional: true + - name: ISC_ENSURED_EVENT_EMIT_DELAY + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: iscEnsuredEventEmitDelay + optional: true + - name: IRW_CONCURRENCY_CM_KEY + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwConcurrencyCmKey + optional: true + - name: IRW_CONCURRENCY_CM_NAME + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwConcurrentyCmName + optional: true + - name: IRW_HEARTBEAT_INTERVAL_IN_SECONDS + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwHeartbeatIntervalInSeconds + optional: true + - name: IRW_POD_GC_STRATEGY + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwPodGcStrategy + optional: true + - name: IRW_SERVICE_ACCOUNT + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwServiceAccount + optional: true + - name: IRW_TTL_ACTIVE_IN_SECONDS + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwTtlActiveInSeconds + optional: true + - name: IRW_TTL_AFTER_COMPLETION_IN_SECONDS + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: irwTtlAfterCompletionInSeconds + optional: true - name: GRAPHQL_DEBUG valueFrom: configMapKeyRef: @@ -104,6 +158,12 @@ spec: name: cap-app-proxy-cm key: graphqlPlayground optional: true + - name: LOG_LEVEL + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: logLevel + optional: true - name: NAMESPACE valueFrom: fieldRef: @@ -114,6 +174,18 @@ spec: name: cap-app-proxy-cm key: port optional: true + - name: GIT_INTEGRATION_APIURL + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: gitIntegrationApiUrl + optional: true + - name: GIT_INTEGRATION_PROVIDER + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: gitIntegrationProvider + optional: true - name: GIT_USERNAME valueFrom: secretKeyRef: @@ -126,6 +198,20 @@ spec: name: autopilot-secret key: git_token optional: true + - name: NODE_EXTRA_CA_CERTS + value: /app/config/all/all.cer + - name: REPO_CREDS_SECRET_NAME + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: repoCredsSecretName + optional: true + - name: REPO_LOCK_TIMEOUT + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: repoLockTimeout + optional: true - name: REPOS_DIR valueFrom: configMapKeyRef: @@ -149,6 +235,18 @@ spec: name: codefresh-token key: encryptionIV optional: true + - name: SEND_HEARTBEAT_INTERVAL + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: sendHeartbeatInterval + optional: true + - name: SKIP_PERMISSIONS_VALIDATION + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: skipPermissionsValidation + optional: true - name: STORE_BACKEND valueFrom: configMapKeyRef: @@ -161,14 +259,18 @@ spec: name: cap-app-proxy-cm key: stripPrefix optional: true - - name: SKIP_PERMISSIONS_VALIDATION + - name: USER_CACHE_TTL valueFrom: configMapKeyRef: name: cap-app-proxy-cm - key: skipPermissionsValidation + key: userCacheTtl + optional: true + - name: USER_TOKEN + valueFrom: + secretKeyRef: + name: codefresh-user-token + key: token optional: true - - name: NODE_EXTRA_CA_CERTS - value: /app/config/all/all.cer image: quay.io/codefresh/cap-app-proxy imagePullPolicy: Always name: cap-app-proxy From 94b4f8eb37857ed98d7745343d584ac5dee0640a Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Mon, 13 Mar 2023 10:22:01 +0200 Subject: [PATCH 47/92] Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files --- add-cluster/add-cluster.sh | 5 +++-- add-cluster/helm/Chart.yaml | 2 +- add-cluster/kustomize/kustomization.yaml | 2 +- .../_components/codefresh-base/app-proxy.deploy.yaml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/add-cluster/add-cluster.sh b/add-cluster/add-cluster.sh index d8342269..7332b02b 100755 --- a/add-cluster/add-cluster.sh +++ b/add-cluster/add-cluster.sh @@ -50,11 +50,12 @@ BEARER_TOKEN=$(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath='{. CLUSTER_NAME=$(echo ${SERVER} | sed s/'http[s]\?:\/\/'//) if [[ $SKIP_TLS_VALIDATION == 'true' ]] then - kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" || exit 1 + kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --insecure-skip-tls-verify=true || exit 1 else # Reference the internal certificate authority (CA) kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --certificate-authority="${SERVICEACCOUNT}/ca.crt" || exit 1 fi + kubectl config set-credentials "${SERVICE_ACCOUNT_NAME}" --token "${BEARER_TOKEN}" || exit 1 kubectl config set-context "${CONTEXT_NAME}" --cluster="${CLUSTER_NAME}" --user="${SERVICE_ACCOUNT_NAME}" || exit 1 @@ -84,4 +85,4 @@ if [[ $STATUS_CODE -ge 300 ]]; then fi echo "deleting token secret ${CSDP_TOKEN_SECRET}" -kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE} || echo "warning: failed deleting secret ${CSDP_TOKEN_SECRET}. you can safely delete this secret manually later with: kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE}" \ No newline at end of file +kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE} || echo "warning: failed deleting secret ${CSDP_TOKEN_SECRET}. you can safely delete this secret manually later with: kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE}" diff --git a/add-cluster/helm/Chart.yaml b/add-cluster/helm/Chart.yaml index ffdd86b6..e3fb5625 100644 --- a/add-cluster/helm/Chart.yaml +++ b/add-cluster/helm/Chart.yaml @@ -6,4 +6,4 @@ type: application version: 0.2.0 -appVersion: 0.6.0 +appVersion: 0.7.0 diff --git a/add-cluster/kustomize/kustomization.yaml b/add-cluster/kustomize/kustomization.yaml index b16c9651..02ad22e7 100644 --- a/add-cluster/kustomize/kustomization.yaml +++ b/add-cluster/kustomize/kustomization.yaml @@ -4,7 +4,7 @@ namespace: kube-system images: - name: quay.io/codefresh/csdp-add-cluster - newTag: 0.6.0 + newTag: 0.7.0 resources: - configmap.yaml diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index f2f3689d..5981358e 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -23,7 +23,7 @@ spec: - -c - | /bin/sh <<'EOF' - if [ $(ls /app/config/tls) ]; then + if [ "$(ls /app/config/tls)" ]; then echo "concatenating certs into /app/config/all/all.cer" cat /app/config/tls/* >> /app/config/all/all.cer else From fc0bac4683878432ef0d65d874e42c9c7862d943 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Tue, 14 Mar 2023 16:19:38 +0200 Subject: [PATCH 48/92] =?UTF-8?q?bump=20app-proxy=20to=20a=20version=20tha?= =?UTF-8?q?t=20includes=20the=20option=20to=20decouple=20runt=E2=80=A6=20(?= =?UTF-8?q?#196)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal --- csdp/base_components/README.yaml | 3 +- .../codefresh-base/app-proxy.deploy.yaml | 9 +- .../codefresh-base/app-proxy.rb.yaml | 2 - .../codefresh-base/app-proxy.role.yaml | 2 - .../codefresh-base/app-proxy.sa.yaml | 2 - .../codefresh-base/app-proxy.svc.yaml | 4 - .../codefresh-base/kustomization.yaml | 4 +- .../ha-manifests/kustomization.yaml | 99 ++++++++++--------- .../_components/ha-manifests/pdb.yaml | 2 +- 9 files changed, 58 insertions(+), 69 deletions(-) diff --git a/csdp/base_components/README.yaml b/csdp/base_components/README.yaml index 0546fb4a..9d6cda3c 100644 --- a/csdp/base_components/README.yaml +++ b/csdp/base_components/README.yaml @@ -1,3 +1,4 @@ + All resources are defined using Kustomize components in this folder in the following structure: base_components: @@ -10,4 +11,4 @@ base_components: this allows us to create configuration bundles - for example HA and non HA configurations. Try to keep resources and patches out of the bundle kustomization, it should contain only the composition of components. - bootstrap: This is the bootstrap component \ No newline at end of file + bootstrap: This is the bootstrap component diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 5981358e..d37a07f6 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -1,17 +1,10 @@ apiVersion: apps/v1 kind: Deployment metadata: - labels: - app: cap-app-proxy name: cap-app-proxy spec: - selector: - matchLabels: - app: cap-app-proxy + replicas: 1 template: - metadata: - labels: - app: cap-app-proxy spec: serviceAccountName: cap-app-proxy initContainers: diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml index e32a5155..9518f353 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml @@ -1,8 +1,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - labels: - app: cap-app-proxy name: cap-app-proxy roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index f8bc7274..d343dc3c 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -1,8 +1,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - labels: - app: cap-app-proxy name: cap-app-proxy rules: - apiGroups: diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml index 8592f5a1..273a91f9 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml @@ -1,6 +1,4 @@ apiVersion: v1 kind: ServiceAccount metadata: - labels: - app: cap-app-proxy name: cap-app-proxy diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml index 032b1482..e87cc4fc 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml @@ -1,12 +1,8 @@ apiVersion: v1 kind: Service metadata: - labels: - app: cap-app-proxy name: cap-app-proxy spec: - selector: - app: cap-app-proxy ports: - name: http port: 3017 diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 9ab70d8a..23b04183 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -1,9 +1,11 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component +commonLabels: + app.kubernetes.io/part-of: cap-app-proxy images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2143.0 + newTag: 1.2155.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml diff --git a/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml index 2e3b8eca..89e276c1 100644 --- a/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml @@ -2,53 +2,56 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - pdb.yaml +- pdb.yaml + +commonLabels: + app.kubernetes.io/part-of: cap-app-proxy patches: - # increase replicas - - target: - group: apps - version: v1 - kind: Deployment - name: cap-app-proxy - patch: |- - - op: add - path: /spec/replicas - value: 2 - # Add leader election sidecar - - target: - group: apps - version: v1 - kind: Deployment - name: cap-app-proxy - path: leader-election.deployment.patch.yaml - # Add leader election role - - target: - kind: Role - name: cap-app-proxy - patch: |- - - op: add - path: /rules/- - value: - apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete - - op: add - path: /rules/- - value: - apiGroups: - - "" - resources: - - events - verbs: - - create - - patch +# increase replicas +- target: + group: apps + version: v1 + kind: Deployment + name: cap-app-proxy + patch: |- + - op: replace + path: /spec/replicas + value: 2 +# Add leader election sidecar +- target: + group: apps + version: v1 + kind: Deployment + name: cap-app-proxy + path: leader-election.deployment.patch.yaml +# Add leader election role +- target: + kind: Role + name: cap-app-proxy + patch: |- + - op: add + path: /rules/- + value: + apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - op: add + path: /rules/- + value: + apiGroups: + - "" + resources: + - events + verbs: + - create + - patch diff --git a/csdp/base_components/apps/app-proxy/_components/ha-manifests/pdb.yaml b/csdp/base_components/apps/app-proxy/_components/ha-manifests/pdb.yaml index cc7b82c2..2279c2ff 100644 --- a/csdp/base_components/apps/app-proxy/_components/ha-manifests/pdb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/ha-manifests/pdb.yaml @@ -6,4 +6,4 @@ spec: minAvailable: 1 selector: matchLabels: - app: cap-app-proxy + app.kubernetes.io/part-of: cap-app-proxy From 892c253d900bdb8d2aecdbfd13063934855e8d3c Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Tue, 21 Mar 2023 11:59:29 +0200 Subject: [PATCH 49/92] bump app-proxy and argo-cd (#201) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 23b04183..57255867 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ commonLabels: images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2155.0 + newTag: 1.2159.1 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index a4f336c3..147fa50c 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-fix-rollout-rollback + newTag: v2.6.0-cap-CR-17237 - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From f7a02591b42f6ca7540b67add60ec52d1b2f7f9f Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Mon, 27 Mar 2023 13:13:19 +0300 Subject: [PATCH 50/92] Test release 0.1.27 (#202) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri --- VERSION | 2 +- .../app-proxy/_components/codefresh-base/app-proxy.cm.yaml | 2 ++ .../app-proxy/_components/codefresh-base/app-proxy.crb.yaml | 2 ++ .../_components/codefresh-base/app-proxy.deploy.yaml | 3 +++ .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- .../app-proxy/_components/ha-manifests/kustomization.yaml | 3 --- csdp/base_components/bootstrap/kustomization.yaml | 4 ++-- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 2 +- csdp/hybrid/basic/runtime.yaml | 2 +- 9 files changed, 13 insertions(+), 9 deletions(-) diff --git a/VERSION b/VERSION index 7db26729..a2e1aa9d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.26 +0.1.27 diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.cm.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.cm.yaml index 97429cd5..6932e07c 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.cm.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.cm.yaml @@ -1,6 +1,8 @@ apiVersion: v1 kind: ConfigMap metadata: + labels: + app.kubernetes.io/part-of: cap-app-proxy name: cap-app-proxy-cm data: argoCdUsername: admin diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml index 91d5d357..47fcb38b 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.crb.yaml @@ -1,6 +1,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: + labels: + app: cap-app-proxy name: cap-app-proxy-binding roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index d37a07f6..023df407 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -4,6 +4,9 @@ metadata: name: cap-app-proxy spec: replicas: 1 + selector: + matchLabels: + app: cap-app-proxy template: spec: serviceAccountName: cap-app-proxy diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 57255867..2d05ae2a 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ commonLabels: images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2159.1 + newTag: 1.2167.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml diff --git a/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml index 89e276c1..3f29a91b 100644 --- a/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/ha-manifests/kustomization.yaml @@ -4,9 +4,6 @@ kind: Component resources: - pdb.yaml -commonLabels: - app.kubernetes.io/part-of: cap-app-proxy - patches: # increase replicas - target: diff --git a/csdp/base_components/bootstrap/kustomization.yaml b/csdp/base_components/bootstrap/kustomization.yaml index d2504f41..43e50832 100644 --- a/csdp/base_components/bootstrap/kustomization.yaml +++ b/csdp/base_components/bootstrap/kustomization.yaml @@ -9,8 +9,8 @@ configMapGenerator: - name: codefresh-cm behavior: create literals: # order matters - DO NOT change - - version=0.1.26 # Runtime version - - bootstrapRevision=0.1.26 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) + - version=0.1.27 # Runtime version + - bootstrapRevision=0.1.27 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) - appsetRequeueTime=15 replacements: # template the version from the configmap into the applicationset generators diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml index 9f92c537..f9b2ba7b 100644 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-appset-update \ No newline at end of file + newTag: v2.6.0-cap-CR-17237 diff --git a/csdp/hybrid/basic/runtime.yaml b/csdp/hybrid/basic/runtime.yaml index 0496e146..b6ae2eea 100644 --- a/csdp/hybrid/basic/runtime.yaml +++ b/csdp/hybrid/basic/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: requiredCLIVersion: ^0.1.0 - version: 0.1.26 + version: 0.1.27 bootstrapSpecifier: github.com/codefresh-io/csdp-official/csdp/hybrid/basic/apps/argo-cd components: - name: events From 5326cc5c65cdd57e32902d246c75c25662a2541e Mon Sep 17 00:00:00 2001 From: danielm-codefresh Date: Mon, 27 Mar 2023 13:54:08 +0300 Subject: [PATCH 51/92] merge release-0.1 --- .../_components/codefresh-base/app-proxy.deploy.yaml | 3 +++ .../app-proxy/_components/codefresh-base/app-proxy.rb.yaml | 2 ++ .../app-proxy/_components/codefresh-base/app-proxy.role.yaml | 2 ++ .../app-proxy/_components/codefresh-base/app-proxy.sa.yaml | 2 ++ .../app-proxy/_components/codefresh-base/app-proxy.svc.yaml | 4 ++++ .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 -- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 7 files changed, 14 insertions(+), 3 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 023df407..2ce49d1a 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -8,6 +8,9 @@ spec: matchLabels: app: cap-app-proxy template: + metadata: + labels: + app: cap-app-proxy spec: serviceAccountName: cap-app-proxy initContainers: diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml index 9518f353..e32a5155 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.rb.yaml @@ -1,6 +1,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: + labels: + app: cap-app-proxy name: cap-app-proxy roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml index d343dc3c..f8bc7274 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.role.yaml @@ -1,6 +1,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: + labels: + app: cap-app-proxy name: cap-app-proxy rules: - apiGroups: diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml index 273a91f9..8592f5a1 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.sa.yaml @@ -1,4 +1,6 @@ apiVersion: v1 kind: ServiceAccount metadata: + labels: + app: cap-app-proxy name: cap-app-proxy diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml index e87cc4fc..032b1482 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml @@ -1,8 +1,12 @@ apiVersion: v1 kind: Service metadata: + labels: + app: cap-app-proxy name: cap-app-proxy spec: + selector: + app: cap-app-proxy ports: - name: http port: 3017 diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 2d05ae2a..b3ecf984 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -1,7 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component -commonLabels: - app.kubernetes.io/part-of: cap-app-proxy images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 147fa50c..a4f336c3 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-17237 + newTag: v2.6.0-cap-CR-fix-rollout-rollback - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From e0acc9e5ff81e5d703a0419b1969caa716ffda13 Mon Sep 17 00:00:00 2001 From: vadim-kharin-codefresh Date: Wed, 29 Mar 2023 11:17:41 +0300 Subject: [PATCH 52/92] Bump app-proxy to 1.2174.1 (#204) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index b3ecf984..287daaab 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2167.0 + newTag: 1.2174.1 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From fbcd51475edd88ae1dd4a072e64aba25c49a6f53 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Tue, 4 Apr 2023 12:28:26 +0300 Subject: [PATCH 53/92] bump-app-proxy (#207) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 287daaab..dd1f5a26 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2174.1 + newTag: 1.2183.1 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From ba3a4377a595d09c67b6955662f9baff56ae1079 Mon Sep 17 00:00:00 2001 From: "Kostis (Codefresh)" <39800303+kostis-codefresh@users.noreply.github.com> Date: Thu, 13 Apr 2023 19:18:53 +0300 Subject: [PATCH 54/92] Fixed Helm chart for adding external cluster to namespace (#208) no e2e run, since there was a change only in the helm sub-directory --- add-cluster/helm/templates/secret.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/add-cluster/helm/templates/secret.yaml b/add-cluster/helm/templates/secret.yaml index 4d9c0f0c..92ab3165 100644 --- a/add-cluster/helm/templates/secret.yaml +++ b/add-cluster/helm/templates/secret.yaml @@ -2,8 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "csdp-add-cluster.fullname" . }}-secret + namespace: {{ .Values.systemNamespace | default "kube-system" }} labels: {{- include "csdp-add-cluster.labels" . | nindent 4 }} type: Opaque data: - CSDP_TOKEN: {{ .Values.csdpToken | b64enc | quote }} + csdpToken: {{ .Values.csdpToken | b64enc | quote }} From 16f528df366f5c4ed38135f7f5c5902d204c794e Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Tue, 18 Apr 2023 16:51:21 +0300 Subject: [PATCH 55/92] CR-18008-app-proxy-bump (#209) bump app proxy --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index dd1f5a26..94aba791 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -3,7 +3,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2183.1 + newTag: 1.2199.0 resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From 63c1d9e0e0a2567d192770214ce5e04a717cffb4 Mon Sep 17 00:00:00 2001 From: Yaroslav Drachenko Date: Mon, 24 Apr 2023 22:32:35 +0300 Subject: [PATCH 56/92] Merge back release branch to main (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * release 0.1.28 (#211) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * merge release-0.1 * Bump app-proxy to 1.2174.1 (#204) * bump-app-proxy (#207) * test-release-0.1.28 * Fixed Helm chart for adding external cluster to namespace (#208) no e2e run, since there was a change only in the helm sub-directory * CR-18008-app-proxy-bump (#209) bump app proxy * test-release-0.1.28-1 * release-0.1.28 --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Daniel Maizel Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> --------- Co-authored-by: Daniel Maizel Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> --- VERSION | 2 +- csdp/base_components/bootstrap/kustomization.yaml | 4 ++-- csdp/hybrid/basic/runtime.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index a2e1aa9d..baec65a9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.27 +0.1.28 diff --git a/csdp/base_components/bootstrap/kustomization.yaml b/csdp/base_components/bootstrap/kustomization.yaml index 43e50832..b913052d 100644 --- a/csdp/base_components/bootstrap/kustomization.yaml +++ b/csdp/base_components/bootstrap/kustomization.yaml @@ -9,8 +9,8 @@ configMapGenerator: - name: codefresh-cm behavior: create literals: # order matters - DO NOT change - - version=0.1.27 # Runtime version - - bootstrapRevision=0.1.27 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) + - version=0.1.28 # Runtime version + - bootstrapRevision=0.1.28 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) - appsetRequeueTime=15 replacements: # template the version from the configmap into the applicationset generators diff --git a/csdp/hybrid/basic/runtime.yaml b/csdp/hybrid/basic/runtime.yaml index b6ae2eea..e7ca5548 100644 --- a/csdp/hybrid/basic/runtime.yaml +++ b/csdp/hybrid/basic/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: requiredCLIVersion: ^0.1.0 - version: 0.1.27 + version: 0.1.28 bootstrapSpecifier: github.com/codefresh-io/csdp-official/csdp/hybrid/basic/apps/argo-cd components: - name: events From 5090a41a7e32c95518060c13529432bc6bec85a4 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Tue, 25 Apr 2023 01:30:53 +0300 Subject: [PATCH 57/92] App proxy incr report limits (#216) * bump app-proxy --------- Co-authored-by: Yaroslav Drachenko --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 94aba791..b63207f2 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -1,9 +1,11 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component + images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2199.0 + newTag: 1.2217.0 + resources: - app-proxy.deploy.yaml - app-proxy.svc.yaml From ee581f29fc05a937b1455c1abaf9ca4738701bb1 Mon Sep 17 00:00:00 2001 From: Yaroslav Drachenko Date: Tue, 25 Apr 2023 10:34:00 +0300 Subject: [PATCH 58/92] Merge back 0.1.29 (#218) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * release 0.1.28 (#211) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * merge release-0.1 * Bump app-proxy to 1.2174.1 (#204) * bump-app-proxy (#207) * test-release-0.1.28 * Fixed Helm chart for adding external cluster to namespace (#208) no e2e run, since there was a change only in the helm sub-directory * CR-18008-app-proxy-bump (#209) bump app proxy * test-release-0.1.28-1 * release-0.1.28 --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Daniel Maizel Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> * Hot fix 0.1.29 (#217) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * merge release-0.1 * Bump app-proxy to 1.2174.1 (#204) * bump-app-proxy (#207) * Fixed Helm chart for adding external cluster to namespace (#208) no e2e run, since there was a change only in the helm sub-directory * CR-18008-app-proxy-bump (#209) bump app proxy * Merge back release branch to main (#213) * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * release 0.1.28 (#211) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * Test release 0.1.27 (#202) * [BE]:Up version (#126) * Up version * Up version * Up proxy version * Wip * Back version * Wip * add applications to app-proxy rbac (#124) * add applications to app-proxy rbac * bump * remove version bump * CR-15471-insecure-git-providers (#130) * add initContainer to app-proxy * move hosted to 2.4 (#129) Co-authored-by: Daniel Maizel * bumped app-proxy to 1.1982.0 (#132) * fix appset (#133) * fix appset * fix hosted installation * fix hybrid install * argocd 2.4 install * Debug * Revert "Debug" This reverts commit c02c9afc9f5977927cdbd6af63e53db0e6f75354. Co-authored-by: danielm-codefresh * bump app-proxy to 1.1991.1 (#138) * bump app-proxy to 1.1991.1 * CR-14423 (#136) app proxy update * Revert hosted move to argocd 2.4 (#139) * Revert "move hosted to 2.4 (#129)" This reverts commit 22f5ef5b059e64ef110431da6d7e2b8053d7a8b5. * Revert "fix appset (#133)" This reverts commit aeeeb3a623e87ae03b61b767ebd7e40d197df144. * fix * update app-proxy (#141) * update app-proxy * hybrid test * Revert "hybrid test" This reverts commit e656ba816328066caf1691399e45a828246391c8. * fix appProtocol for argocd-server to support Istio (#140) * Cr 24 hosted (#142) * Release 0.1.16 (#134) releasing 0.1.16 * Revert "Revert hosted move to argocd 2.4 (#139)" This reverts commit b63acd37 * hosted 2.4 * hosted 2.4 * runtime.yaml * fix hybrid * fix hybrid * revert VERSION Co-authored-by: Daniel Maizel * upgrade argo-workflows to 3.4 (#144) * =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4 * Cr 15967 bb enr rc (#147) * mount argocd-token to app-proxy env * bumped app-proxy to 1.2016.2 Co-authored-by: Noam Gal Co-authored-by: andrii-codefresh * CR-15900-argo-cd-version-update (#149) argo-cd version update with rollback query * Revert "upgrade argo-workflows to 3.4 (#144)" This reverts commit ce2330bda66d12c2a0deb2c795865cc30af7c82c. * upgrade argo-rollouts to 1.4.0 (#152) * bump app-proxy (#155) * Argo workflow 3.4 upgrade (#157) * Revert "Revert "upgrade argo-workflows to 3.4 (#144)"" * add namespace override for argo-workflows Co-authored-by: danielm-codefresh * automatically merge release branch to main to avoid version drift (#158) * automatically merge release branch to main * add component version to release notes * bump app-proxy (#160) * bump app-proxy * bump * trigger * trigger * bump * remove redundent bump * bump app-proxy to 1.2056.0 (#162) change back to argocd user/password instead of token * Add permissions for app-proxy to read, list and patch deployments (#163) * readme * add permissions for app-proxy to read, list and patch deployments * Cr visa sw (#164) * new rollouts version * update rollouts * Add all release managers as code owners (#166) add all release managers as code owners * Update release.yaml * Argocd 25 (#168) * argocd 2.5 * argocd 2.5 * change version * change version back * Bump app-proxy to 1.2081.0 (#169) * bumped app-proxy to 1.2081.0 * bump-app-proxy (#170) * bumping argocd CR-16950-reporting-deadline (#174) * bumping argocd CR-16950-reporting-deadline * fix * remove bootstrapRevision * add additional env SKIP_TLS_VALIDATION (#175) * add additional env SKIP_TLS_VALIDATION * change version * update add cluster job wip update dockerfile wip wip wip wip wip wip add comment wip * Cr 17082 (#177) * security patch * security patch * security patch * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176) * add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy * test app-proxy image * bump app-proxy * bump app-proxy * CR-16741-config-fix (#179) fix job yaml * update argo workflows to fix empty page issue (#182) * fixed role resource name (#183) * Cr argocd 26 (#184) * argocd 2.6 * change version * change version * new argo version (#187) * Revert "update argo workflows to fix empty page issue (#182)" This reverts commit 3e239a81fcf82ca4446c9cb815f390b7474c5207. * argo workflows exit handler fix (#188) * Update kustomization.yaml * Update kustomization.yaml * Cr argocd26 appset (#190) * change version * change version * change version * custom hybrid argocd version * custom hybrid argocd version * Bump app-proxy to 1.2133.0 (#192) * bump app-proxy to `1.2140.0` (#193) bump app-proxy to 1.2140.0 * CR-17122 (#191) * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update kustomization.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * Update runtime.yaml * wip * bump app-proxy 1.2143.0 * updated role (#194) * updated role * added a list of missing env vars, injected from cm (#197) all of those env vars are optional, and the current `cap-app-proxy-cm` do not contain values for them. that means the pod will run like it used to run before, by using default values in the code. there should be no risk. * Add-cluster-insecure (#198) * added --insecure-skip-tls-verify flag to script * updated add-cluster version to 0.7.0 * fixed initCerts to handle multiple files * bump app-proxy to a version that includes the option to decouple runt… (#196) * bump app-proxy to a version that includes the option to decouple runtime name and namespace --------- Co-authored-by: Noam Gal * bump app-proxy and argo-cd (#201) * bump prerelease * update argo-cd for hybrid * fix * update app-proxy * fix app-proxy * bump prerelease * bump prerelease * add label selector to app-proxy service * bump prerelease * bump app-proxy * bump prerelease * bump app-proxy * remove pre-release postfix --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri * merge release-0.1 * Bump app-proxy to 1.2174.1 (#204) * bump-app-proxy (#207) * test-release-0.1.28 * Fixed Helm chart for adding external cluster to namespace (#208) no e2e run, since there was a change only in the helm sub-directory * CR-18008-app-proxy-bump (#209) bump app proxy * test-release-0.1.28-1 * release-0.1.28 --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Daniel Maizel Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> --------- Co-authored-by: Daniel Maizel Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> * bump version * App proxy incr report limits (#216) * bump app-proxy --------- Co-authored-by: Yaroslav Drachenko * change to debian * release version --------- Co-authored-by: Philipp Plotnikov Co-authored-by: Daniel Maizel Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> --------- Co-authored-by: Daniel Maizel Co-authored-by: Philipp Plotnikov Co-authored-by: Noam Gal Co-authored-by: pasha-codefresh Co-authored-by: Oleksandr Saulyak Co-authored-by: Andrii Shaforostov Co-authored-by: Denis Melnik Co-authored-by: kim-codefresh Co-authored-by: roi-codefresh Co-authored-by: pysarenko-bohdan Co-authored-by: vadim-kharin-codefresh Co-authored-by: Eti Zaguri Co-authored-by: Kostis (Codefresh) <39800303+kostis-codefresh@users.noreply.github.com> --- VERSION | 2 +- csdp/base_components/bootstrap/kustomization.yaml | 4 ++-- .../basic/apps/internal-router/internal-router.deploy.yaml | 2 +- csdp/hybrid/basic/runtime.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index baec65a9..a2dd1d3c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.28 +0.1.29 \ No newline at end of file diff --git a/csdp/base_components/bootstrap/kustomization.yaml b/csdp/base_components/bootstrap/kustomization.yaml index b913052d..e363699e 100644 --- a/csdp/base_components/bootstrap/kustomization.yaml +++ b/csdp/base_components/bootstrap/kustomization.yaml @@ -9,8 +9,8 @@ configMapGenerator: - name: codefresh-cm behavior: create literals: # order matters - DO NOT change - - version=0.1.28 # Runtime version - - bootstrapRevision=0.1.28 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) + - version=0.1.29 # Runtime version + - bootstrapRevision=0.1.29 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes) - appsetRequeueTime=15 replacements: # template the version from the configmap into the applicationset generators diff --git a/csdp/hybrid/basic/apps/internal-router/internal-router.deploy.yaml b/csdp/hybrid/basic/apps/internal-router/internal-router.deploy.yaml index fed96e75..11d8c0d1 100644 --- a/csdp/hybrid/basic/apps/internal-router/internal-router.deploy.yaml +++ b/csdp/hybrid/basic/apps/internal-router/internal-router.deploy.yaml @@ -17,7 +17,7 @@ spec: # do not upgrade to 1.23 until it's really critical # 1.23 removed support for "Transfer-Encoding: identity" header value # and it will break SSE from app-proxy - image: nginx:1.22-alpine + image: nginx:1.22-bullseye imagePullPolicy: Always ports: - containerPort: 80 diff --git a/csdp/hybrid/basic/runtime.yaml b/csdp/hybrid/basic/runtime.yaml index e7ca5548..be07e7f4 100644 --- a/csdp/hybrid/basic/runtime.yaml +++ b/csdp/hybrid/basic/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: requiredCLIVersion: ^0.1.0 - version: 0.1.28 + version: 0.1.29 bootstrapSpecifier: github.com/codefresh-io/csdp-official/csdp/hybrid/basic/apps/argo-cd components: - name: events From d854fb4636cbb262e58951fa18b8811d64629dc6 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Thu, 11 May 2023 11:10:51 +0300 Subject: [PATCH 59/92] app-proxy-1.2241.0 Support CF_INSECURE in image reporting (#220) * app-proxy-1.2241.0 Support CF_INSECURE in image reporting * Update kustomization.yaml --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index b63207f2..952bf583 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2217.0 + newTag: 1.2245.0 resources: - app-proxy.deploy.yaml From b1b59d5e9afbcc532dcfec05533c3b643fdc9a56 Mon Sep 17 00:00:00 2001 From: Victor Plakyda Date: Thu, 11 May 2023 12:58:55 +0300 Subject: [PATCH 60/92] CR-18093 bump app proxy (#222) From f18cd0f215fea28403d18656decf68ac83d0afde Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 16 May 2023 13:24:19 +0300 Subject: [PATCH 61/92] feat: support insecure flag for oci pull (#223) oci support --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index a4f336c3..8b41b50a 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-fix-rollout-rollback + newTag: v2.6.0-cap-CR-oci-support-insecure - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml index f9b2ba7b..bb51950e 100644 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-17237 + newTag: v2.6.0-cap-CR-oci-support-insecure From edb0d7855a526cd76cc4c2312852fc57bc8aa809 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Thu, 18 May 2023 13:16:56 +0300 Subject: [PATCH 62/92] [CR-17365]: app-proxy bump (#224) * [CR-17365]: app-proxy bump * bump app-proxy --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 952bf583..0d312110 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2245.0 + newTag: 1.2251.0 resources: - app-proxy.deploy.yaml From 37b759ef15061994aef04128a99e8e28d9812785 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Mon, 22 May 2023 10:48:15 +0300 Subject: [PATCH 63/92] CR-16682-app-proxy (#225) app-proxy bump with graphql subscriptions upadte --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 0d312110..def12c78 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2251.0 + newTag: 1.2258.1 resources: - app-proxy.deploy.yaml From 3f8387c8206986c73b8c6b976908da25fd7a3480 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Mon, 22 May 2023 16:21:07 +0300 Subject: [PATCH 64/92] bumped argo-cd to `v2.6.0-cap-CR-18430-del-app` (#226) --- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 ----- csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 5 +---- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 8b41b50a..e30ef6b3 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-oci-support-insecure + newTag: v2.6.0-cap-CR-18430-del-app - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml deleted file mode 100644 index bb51950e..00000000 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1alpha1 -kind: Component -images: - - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-oci-support-insecure diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index aa41dbb7..fed45edc 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,8 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd -resources: - - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6-with-appset/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_components/codefresh-base - - ../../../_components/apps/argo-cd/codefresh-hybrid \ No newline at end of file + - ../../../../base_components/apps/argo-cd/_bundles/basic From 339967b119182facd212c763b6e4c6599a75a8e7 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Tue, 23 May 2023 11:12:21 +0300 Subject: [PATCH 65/92] CR-18686-app-proxy (#227) app-proxy bump to 1.2260.1 with security fixes --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index def12c78..b9d7bd20 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2258.1 + newTag: 1.2260.1 resources: - app-proxy.deploy.yaml From 80d2a34219d4cf346f218047b0e881ea96acb11a Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Wed, 24 May 2023 11:47:38 +0300 Subject: [PATCH 66/92] CR-18417-app-proxy (#229) [app-proxy / runResourceAction query]: now requires runtime parameter to be passed --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index b9d7bd20..c295036e 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2260.1 + newTag: 1.2264.1 resources: - app-proxy.deploy.yaml From 4c211e87ed802961efad00dd22897c9aa6855d04 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Mon, 29 May 2023 13:42:26 +0300 Subject: [PATCH 67/92] Return ArgoCD override for hybrid (#230) Return ArgoCD override to hybrid --- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 5 +++++ csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml new file mode 100644 index 00000000..0f9099d4 --- /dev/null +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component +images: + - name: quay.io/codefresh/argocd + newTag: v2.6.0-cap-CR-18430-del-app diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index fed45edc..aa41dbb7 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -1,5 +1,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd +resources: + - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6-with-appset/manifests/install.yaml components: - - ../../../../base_components/apps/argo-cd/_bundles/basic + - ../../../../base_components/apps/argo-cd/_components/codefresh-base + - ../../../_components/apps/argo-cd/codefresh-hybrid \ No newline at end of file From 9fcce195330a773c3b592574bd0e9506c4c69cd3 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Mon, 29 May 2023 14:58:00 +0300 Subject: [PATCH 68/92] bump app-proxy (#231) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index c295036e..4ec91940 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2264.1 + newTag: 1.2268.0 resources: - app-proxy.deploy.yaml From bc451552225f189fa8d9d5cf6d6ba450bc7cd4a0 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Sat, 3 Jun 2023 19:55:43 +0300 Subject: [PATCH 69/92] Cr argocd 27 (#233) --- .../argo-cd/_components/base-manifests/kustomization.yaml | 2 +- .../argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- .../apps/argo-cd/codefresh-hybrid/kustomization.yaml | 2 +- csdp/hybrid/basic/apps/argo-cd/kustomization.yaml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml index 551605f2..274f5532 100644 --- a/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/base-manifests/kustomization.yaml @@ -1,4 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: -- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6/manifests/install.yaml +- https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.7/manifests/install.yaml diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index e30ef6b3..502e5eda 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-18430-del-app + newTag: v2.7.0-cap-CR-change-cmd - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs diff --git a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml index 0f9099d4..a5bf4b4a 100644 --- a/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml +++ b/csdp/hybrid/_components/apps/argo-cd/codefresh-hybrid/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component images: - name: quay.io/codefresh/argocd - newTag: v2.6.0-cap-CR-18430-del-app + newTag: v2.7.0-cap-CR-change-cmd diff --git a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml index aa41dbb7..7b825b0a 100644 --- a/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml +++ b/csdp/hybrid/basic/apps/argo-cd/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd resources: - - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.6-with-appset/manifests/install.yaml + - https://raw.githubusercontent.com/codefresh-io/argo-cd/release-2.7-with-appset/manifests/install.yaml components: - ../../../../base_components/apps/argo-cd/_components/codefresh-base - - ../../../_components/apps/argo-cd/codefresh-hybrid \ No newline at end of file + - ../../../_components/apps/argo-cd/codefresh-hybrid From e84d1b521238999d2975a649bf4602c72d2971a2 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Mon, 12 Jun 2023 16:16:15 +0300 Subject: [PATCH 70/92] Update app-proxy image to 1.2283.0 (#235) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 4ec91940..376fc8bc 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2268.0 + newTag: 1.2283.0 resources: - app-proxy.deploy.yaml From 45acefb12fbc4166850af027493a2f5b0f8870a7 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Thu, 15 Jun 2023 16:35:18 +0300 Subject: [PATCH 71/92] Update app-proxy image to 1.2293.0 (#236) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 376fc8bc..1fb7c654 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2283.0 + newTag: 1.2293.0 resources: - app-proxy.deploy.yaml From 51775673c36d4841404405f45cf8a32c8d06a484 Mon Sep 17 00:00:00 2001 From: Denis Melnik Date: Tue, 20 Jun 2023 16:57:46 +0300 Subject: [PATCH 72/92] bump app-proxy to 1.2300.0 (#237) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 1fb7c654..8276a79c 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2293.0 + newTag: 1.2300.0 resources: - app-proxy.deploy.yaml From df69eb188cf968279478c779d4bce981544dd211 Mon Sep 17 00:00:00 2001 From: Daniel Maizel Date: Wed, 21 Jun 2023 15:58:24 +0300 Subject: [PATCH 73/92] fix ssh (#238) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 8276a79c..2cf31cbd 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2300.0 + newTag: 1.2303.0 resources: - app-proxy.deploy.yaml From 6f0931e6f9a5b419a5ead8038c0935678704027a Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Tue, 27 Jun 2023 10:40:45 +0300 Subject: [PATCH 74/92] Update app-proxy image to 1.2318.1 (#240) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 2cf31cbd..125ff89d 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2303.0 + newTag: 1.2318.1 resources: - app-proxy.deploy.yaml From 20c266edc698026030419007d0249eee03111757 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Tue, 4 Jul 2023 12:39:48 +0300 Subject: [PATCH 75/92] CR-18361-argocd (#242) * new argocd v2.7.0-cap-CR-18361-custom-instance-label * trigger commit --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 502e5eda..cead398e 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.7.0-cap-CR-change-cmd + newTag: v2.7.0-cap-CR-18361-custom-instance-label - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 7e32c21cd87215b6f9d033a3c91857301690f124 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Wed, 5 Jul 2023 13:28:29 +0300 Subject: [PATCH 76/92] CR-18362-app-proxy-bump (#243) new app-proxy with argoCdConfig reporting in heartbeat service --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 125ff89d..9356badd 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2318.1 + newTag: 1.2325.0 resources: - app-proxy.deploy.yaml From 239f5947aeb8ae1d4f2aa05d7c36ff5d37ed20a3 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Thu, 6 Jul 2023 20:30:45 +0300 Subject: [PATCH 77/92] CR-19442-app-proxy (#245) app-proxy update with changes to applicationProxyQuery response: spec.source now optional --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 9356badd..743f5a59 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2325.0 + newTag: 1.2330.2 resources: - app-proxy.deploy.yaml From d2e484e46cec1ef5fac6ff5f5e75e57d1d288ef5 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Sun, 9 Jul 2023 16:42:54 +0300 Subject: [PATCH 78/92] Update app-proxy image to 1.2334.1 (#246) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 743f5a59..1550b4bf 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2330.2 + newTag: 1.2334.1 resources: - app-proxy.deploy.yaml From dd8fd670f68432e1309e66aa25e21c34acee3cc0 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Wed, 12 Jul 2023 15:58:05 +0300 Subject: [PATCH 79/92] bump app-proxy to `1.2340.4` (#248) * add REPOS_HOST_MAPPING * bump app-proxy to `1.2340.4` * fixed readyness and liveness ports, and app-proxy svc port --------- Co-authored-by: Eti Zaguri --- .../_components/codefresh-base/app-proxy.deploy.yaml | 10 ++++++++-- .../_components/codefresh-base/app-proxy.svc.yaml | 2 +- .../_components/codefresh-base/kustomization.yaml | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index 2ce49d1a..f3c032b7 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -217,6 +217,12 @@ spec: name: cap-app-proxy-cm key: reposDir optional: true + - name: REPOS_HOST_MAPPING + valueFrom: + configMapKeyRef: + name: cap-app-proxy-cm + key: reposHostMapping + optional: true - name: RUNTIME_NAME valueFrom: configMapKeyRef: @@ -277,14 +283,14 @@ spec: initialDelaySeconds: 10 timeoutSeconds: 10 httpGet: - port: http + port: 8080 path: /api/readyz livenessProbe: initialDelaySeconds: 10 timeoutSeconds: 10 failureThreshold: 10 httpGet: - port: http + port: 8080 path: /api/healthz ports: - name: http diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml index 032b1482..ac104fab 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.svc.yaml @@ -11,4 +11,4 @@ spec: - name: http port: 3017 protocol: TCP - targetPort: http + targetPort: 8080 diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 1550b4bf..e4510762 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2334.1 + newTag: 1.2340.4 resources: - app-proxy.deploy.yaml From e45b834f66b79e7ed3221e0cb52f6f30ff1c3262 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Thu, 13 Jul 2023 10:20:22 +0300 Subject: [PATCH 80/92] CR-14513-app-proxy 'ignoreDifferences' in applicationProxyQuery response (#249) * app proxy with 'ignoreDifferences' in applicationProxyQuery response * upd app-proxy version --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index e4510762..7527e866 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2340.4 + newTag: 1.2341.1 resources: - app-proxy.deploy.yaml From fd2e4d9f9e11f8fe6b108947e569d3144439cd0e Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Mon, 17 Jul 2023 11:53:50 +0300 Subject: [PATCH 81/92] Update app-proxy image to 1.2345.1 (#250) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 7527e866..fc0e41f5 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2341.1 + newTag: 1.2345.1 resources: - app-proxy.deploy.yaml From 957f1600e662dfa7dd144ea2df42b35a5c27420e Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Wed, 19 Jul 2023 14:52:25 +0300 Subject: [PATCH 82/92] feat: rollouts v1.5.0 support (#252) --- .../argo-rollouts/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml index 4b303690..6d5d0fe2 100644 --- a/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-rollouts/_components/codefresh-base/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.4.0-cap-sw/install.yaml + - https://github.com/codefresh-io/argo-rollouts/releases/download/v1.5.0/install.yaml patches: - target: group: apiextensions.k8s.io From f13c7ad1a00d4f2efd8d001b40c797830b13fa56 Mon Sep 17 00:00:00 2001 From: vadim-kharin-codefresh Date: Thu, 20 Jul 2023 11:22:53 +0300 Subject: [PATCH 83/92] CR-18923 Update app-proxy image to 1.2351.1 (#251) * CR-18923 Update app-proxy image to 1.2347.1 * CR-18923 Update app-proxy image to 1.2351.1 --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index fc0e41f5..7e5edee3 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2345.1 + newTag: 1.2351.1 resources: - app-proxy.deploy.yaml From cbfc39b482cc13323b56d423a498b1676adc29c0 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Mon, 24 Jul 2023 18:54:30 +0300 Subject: [PATCH 84/92] Update app-proxy image to 1.2355.0 (#256) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 7e5edee3..44e92cbf 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2351.1 + newTag: 1.2355.0 resources: - app-proxy.deploy.yaml From 6584860ba24a0a59f988d4fe3290194acaf72cbe Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Mon, 31 Jul 2023 16:35:15 +0300 Subject: [PATCH 85/92] CR-19830-argo-cd (#257) update argo-cd with fix for cases when app doesn't have labels --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index cead398e..7906ae22 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.7.0-cap-CR-18361-custom-instance-label + newTag: v2.7.0-cap-CR-19830-missing-labels - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From 7ddc8ac4ea66cb050440a939976d357bb5c60760 Mon Sep 17 00:00:00 2001 From: Robert Barabas Date: Tue, 1 Aug 2023 09:37:22 +0200 Subject: [PATCH 86/92] feat: enable ipv6 for internal-router (#255) Co-authored-by: Yaroslav Drachenko --- .../internal-router/internal-router.cm.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml b/csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml index e8547e9a..99183a9c 100644 --- a/csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml +++ b/csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml @@ -6,40 +6,41 @@ data: default.conf.template: | server { listen 80 default_server; + listen [::]:80 default_server; root /usr/local/app; access_log /dev/stdout main; error_log /dev/stdout; - - + + location /app-proxy { # WebSocket support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; chunked_transfer_encoding off; - + proxy_pass http://cap-app-proxy:3017; } - + location /workflows/ { # sse proxy_set_header Connection ''; proxy_http_version 1.1; chunked_transfer_encoding off; - + proxy_pass https://argo-server:2746/; } - + location ~ /webhooks/([^/]+)/([^/]+) { resolver kube-dns.kube-system.svc.cluster.local valid=10s; proxy_pass http://$2-eventsource-svc.$1.svc.cluster.local; } - + location /readyz { return 200 'ok'; } - + location /healthz { return 200 'ok'; } - } \ No newline at end of file + } From b5d6cc914691a71de9448f4ecd399434aefe8d0a Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Mon, 14 Aug 2023 15:17:41 +0300 Subject: [PATCH 87/92] replaced port 80 with 8080 (#259) --- .../_components/codefresh-base/app-proxy.deploy.yaml | 6 +++--- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml index f3c032b7..4538879b 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/app-proxy.deploy.yaml @@ -283,18 +283,18 @@ spec: initialDelaySeconds: 10 timeoutSeconds: 10 httpGet: - port: 8080 + port: http path: /api/readyz livenessProbe: initialDelaySeconds: 10 timeoutSeconds: 10 failureThreshold: 10 httpGet: - port: 8080 + port: http path: /api/healthz ports: - name: http - containerPort: 80 + containerPort: 8080 resources: requests: memory: '512Mi' diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 44e92cbf..20da7698 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2355.0 + newTag: 1.2355.0 resources: - app-proxy.deploy.yaml From a0a6374985805d590a09860936a9228490592b46 Mon Sep 17 00:00:00 2001 From: vadim-kharin-codefresh Date: Tue, 15 Aug 2023 13:03:03 +0300 Subject: [PATCH 88/92] CR-19674 update app-proxy (#260) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index 20da7698..cb499b02 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2355.0 + newTag: 1.2384.2 resources: - app-proxy.deploy.yaml From 3b75158ee088bd967e3af74ce7b40962225b7d32 Mon Sep 17 00:00:00 2001 From: Oleksandr Saulyak Date: Fri, 18 Aug 2023 13:06:07 +0300 Subject: [PATCH 89/92] CR-19754-argo-cd (#262) argo-cd with fix for situation when delete events didnt send because of PermissionDenied error --- .../apps/argo-cd/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml index 7906ae22..55196a92 100644 --- a/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml @@ -5,7 +5,7 @@ resources: images: - name: quay.io/codefresh/argocd - newTag: v2.7.0-cap-CR-19830-missing-labels + newTag: v2.7.0-cap-CR-19754-deletion-fix - name: quay.io/codefresh/applicationset newTag: v0.4.2-CR-13254-remove-private-logs From af2e3ebfa7cd75f5ebc61cd27bae997355ed20fd Mon Sep 17 00:00:00 2001 From: Denys Melnyk Date: Mon, 21 Aug 2023 16:08:00 +0300 Subject: [PATCH 90/92] upgrade argo-events-v1.8.0 --- .../argo-events/_components/codefresh-base/kustomization.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml index e9b3ac25..1c976796 100644 --- a/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.2-cap-CR-14600/manifests/install.yaml - - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.2-cap-CR-14600/manifests/install-validating-webhook.yaml + - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.8.0-cap-CR-19893/manifests/install.yaml + - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.8.0-cap-CR-19893/manifests/install-validating-webhook.yaml - eventbus.yaml From 84fa7647f9442ee9b3b89c2163f8e1b214ee519e Mon Sep 17 00:00:00 2001 From: Denys Melnyk Date: Tue, 22 Aug 2023 16:28:01 +0300 Subject: [PATCH 91/92] wip --- .../argo-events/_components/codefresh-base/kustomization.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml index 1c976796..115a7cda 100644 --- a/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/argo-events/_components/codefresh-base/kustomization.yaml @@ -4,3 +4,4 @@ resources: - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.8.0-cap-CR-19893/manifests/install.yaml - https://raw.githubusercontent.com/codefresh-io/argo-events/v1.8.0-cap-CR-19893/manifests/install-validating-webhook.yaml - eventbus.yaml + From ac7361a9b0399c1008e52761969329f8cefe8af9 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Wed, 23 Aug 2023 10:41:02 +0300 Subject: [PATCH 92/92] Update app-proxy image to 1.2400.4 (#265) --- .../app-proxy/_components/codefresh-base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml index cb499b02..c7f5ba8a 100644 --- a/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml +++ b/csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml @@ -4,7 +4,7 @@ kind: Component images: - name: quay.io/codefresh/cap-app-proxy newName: quay.io/codefresh/cap-app-proxy - newTag: 1.2384.2 + newTag: 1.2400.4 resources: - app-proxy.deploy.yaml