Skip to content

Commit

Permalink
replace quay repos Argoproj with Codefresh and upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-codefresh committed Jul 18, 2024
1 parent 943ed25 commit 4cac304
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 13 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ update-manifests-version:
mv /tmp/wh_kustomization.yaml manifests/extensions/validating-webhook/kustomization.yaml
cat Makefile | sed 's/^VERSION?=.*/VERSION?=$(VERSION)/' | sed 's/^BASE_VERSION:=.*/BASE_VERSION:=$(VERSION)/' > /tmp/ae_makefile
mv /tmp/ae_makefile Makefile
find ./manifests -type f -name "*.yaml" -exec \
sed -i.bak \
-e "s|quay\.io/codefresh/argo-events:[^ ]*|quay.io/codefresh/argo-events:$(VERSION)|g" \
{} +

.PHONY: checksums
checksums:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
runAsUser: 9731
containers:
- name: controller-manager
image: quay.io/codefresh/argo-events:v1.9.0-cap-CR-22221
image: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
imagePullPolicy: Always
args:
- controller
Expand All @@ -28,7 +28,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: ARGO_EVENTS_IMAGE
value: quay.io/codefresh/argo-events:v1.9.0-cap-CR-22221
value: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
volumeMounts:
- mountPath: /etc/argo-events
name: controller-config-volume
Expand Down
7 changes: 4 additions & 3 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ resources:
- controller-manager

images:
- name: quay.io/argoproj/argo-events
newTag: v1.9.2
- name: quay.io/codefresh/argo-events
newName: quay.io/codefresh/argo-events
newTag: v1.9.2-cap-CR-24607

patches:
- patch: |-
Expand All @@ -27,4 +28,4 @@ patches:
- name: controller-manager
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/argoproj/argo-events:v1.9.2
value: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: webhook
image: quay.io/codefresh/argo-events:v1.9.0-cap-CR-22221
image: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
imagePullPolicy: Always
args:
- webhook-service
Expand Down
5 changes: 3 additions & 2 deletions manifests/extensions/validating-webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ resources:
namespace: argo-events

images:
- name: quay.io/argoproj/argo-events
newTag: v1.9.2
- name: quay.io/codefresh/argo-events
newName: quay.io/codefresh/argo-events
newTag: v1.9.2-cap-CR-24607
2 changes: 1 addition & 1 deletion manifests/install-validating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
fieldPath: metadata.namespace
- name: PORT
value: "443"
image: quay.io/argoproj/argo-events:v1.9.2
image: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
imagePullPolicy: Always
name: webhook
serviceAccountName: argo-events-webhook-sa
4 changes: 2 additions & 2 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,12 +401,12 @@ spec:
- controller
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/argoproj/argo-events:v1.9.2
value: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/argoproj/argo-events:v1.9.2
image: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,12 @@ spec:
- --namespaced
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/argoproj/argo-events:v1.9.2
value: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/argoproj/argo-events:v1.9.2
image: quay.io/codefresh/argo-events:v1.9.2-cap-CR-24607
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down

0 comments on commit 4cac304

Please sign in to comment.