Skip to content

Commit

Permalink
Update testdata files with release images
Browse files Browse the repository at this point in the history
  • Loading branch information
jvpasinatto committed Jan 8, 2025
1 parent e316f81 commit 6077a3f
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 17 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ release: manifests
-e "/^ backup:/,/^ image:/{s#image: .*#image: $(IMAGE_BACKUP)#}" \
-e "s#initImage: .*#initImage: percona/percona-server-mongodb-operator:$(VERSION)#g" \
-e "/^ pmm:/,/^ image:/{s#image: .*#image: $(IMAGE_PMM_CLIENT)#}" deploy/cr.yaml
$(SED) -i \
-e "s|perconalab/percona-server-mongodb-operator:main-mongod7.0|$(IMAGE_MONGOD80)|g" \
-e "s|perconalab/percona-server-mongodb-operator:main-backup|$(IMAGE_BACKUP)|g" \
-e "s|perconalab/percona-server-mongodb-operator:main|$(IMAGE_OPERATOR)|g" \
pkg/controller/perconaservermongodb/testdata/reconcile-statefulset/*.yaml

# Prepare main branch after release
MAJOR_VER := $(shell grep -oE "crVersion: .*" deploy/cr.yaml|grep -oE "[0-9]+\.[0-9]+\.[0-9]+"|cut -d'.' -f1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -185,7 +185,7 @@ spec:
value: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@$(POD_NAME)
- name: PBM_AGENT_TLS_ENABLED
value: "true"
image: perconalab/percona-server-mongodb-operator:main-backup
image: percona/percona-backup-mongodb:2.8.0-multi
imagePullPolicy: Always
name: backup-agent
resources: {}
Expand All @@ -204,7 +204,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -185,7 +185,7 @@ spec:
value: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@$(POD_NAME)
- name: PBM_AGENT_TLS_ENABLED
value: "true"
image: perconalab/percona-server-mongodb-operator:main-backup
image: percona/percona-backup-mongodb:2.8.0-multi
imagePullPolicy: Always
name: backup-agent
resources: {}
Expand All @@ -204,7 +204,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -185,7 +185,7 @@ spec:
value: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@$(POD_NAME)
- name: PBM_AGENT_TLS_ENABLED
value: "true"
image: perconalab/percona-server-mongodb-operator:main-backup
image: percona/percona-backup-mongodb:2.8.0-multi
imagePullPolicy: Always
name: backup-agent
resources: {}
Expand All @@ -204,7 +204,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -154,7 +154,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -185,7 +185,7 @@ spec:
value: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@$(POD_NAME)
- name: PBM_AGENT_TLS_ENABLED
value: "true"
image: perconalab/percona-server-mongodb-operator:main-backup
image: percona/percona-backup-mongodb:2.8.0-multi
imagePullPolicy: Always
name: backup-agent
resources: {}
Expand All @@ -204,7 +204,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- secretRef:
name: internal-reconcile-statefulset-cr-users
optional: false
image: perconalab/percona-server-mongodb-operator:main-mongod7.0
image: percona/percona-server-mongodb:8.0.4-1-multi
imagePullPolicy: Always
livenessProbe:
exec:
Expand Down Expand Up @@ -184,7 +184,7 @@ spec:
value: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@$(POD_NAME)
- name: PBM_AGENT_TLS_ENABLED
value: "true"
image: perconalab/percona-server-mongodb-operator:main-backup
image: percona/percona-backup-mongodb:2.8.0-multi
imagePullPolicy: Always
name: backup-agent
resources: {}
Expand All @@ -203,7 +203,7 @@ spec:
initContainers:
- command:
- /init-entrypoint.sh
image: perconalab/percona-server-mongodb-operator:main
image: percona/percona-server-mongodb-operator:1.19.0
imagePullPolicy: Always
name: mongo-init
resources:
Expand Down

0 comments on commit 6077a3f

Please sign in to comment.