Skip to content

Commit aa02370

Browse files
[Fix] : deploy can not set custom image:tag (#664)
* fix deploy image to latest tag Signed-off-by: drivebyer <wuyangmuc@gmail.com> * fix image name consistent with kustomization.yaml Signed-off-by: drivebyer <wuyangmuc@gmail.com> * alway use image locally Co-authored-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> * Update config/manager/kustomization.yaml * check image Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com> * fix workflow Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com> --------- Signed-off-by: drivebyer <wuyangmuc@gmail.com> Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com> Co-authored-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> Co-authored-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
1 parent ea26e9d commit aa02370

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Install Redis Operator
5050
run: |
51-
make deploy
51+
make deploy IMG=redis-operator:e2e
5252
5353
- name: Wait for Redis Operator to be ready
5454
run: |

config/manager/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
1212
kind: Kustomization
1313
images:
1414
- name: controller
15-
newName: redis-operator
16-
newTag: e2e
15+
newName: quay.io/opstree/redis-operator
16+
newTag: v0.15.1

config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ spec:
3535
- --leader-elect
3636
- -zap-log-level=info
3737
- -enable-webhooks=false
38-
image: redis-operator:e2e
39-
imagePullPolicy: IfNotPresent
38+
image: controller
39+
imagePullPolicy: Never
4040
name: manager
4141
securityContext:
4242
allowPrivilegeEscalation: false

0 commit comments

Comments
 (0)