Skip to content

Commit

Permalink
update tags
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk committed Oct 12, 2023
1 parent f5c68da commit dd3f8cb
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: TestStep
apply:
- cluster.yaml
assert:
- ready-cluster-sts.yaml
- ready-cluster.yaml
- ready-sts.yaml
- ready-pvc.yaml
error:
- ignore-annots-sts.yaml
4 changes: 2 additions & 2 deletions tests/e2e/v1beta2/ignore-annots/redis-cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
kubernetesConfig:
ignoreAnnotations:
- "need-ignore-key"
image: quay.io/opstree/redis:v7.0.12
imagePullPolicy: IfNotPresent
image: quay.io/opstree/redis:latest
imagePullPolicy: Always
resources:
requests:
cpu: 101m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-leader
labels:
app: redis-cluster-v1beta2-leader
redis_setup_type: cluster
role: leader
annotations:
need-ignore-key: "need-ignore-value"
spec:
Expand All @@ -14,6 +18,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-follower
labels:
app: redis-cluster-v1beta2-follower
redis_setup_type: cluster
role: follower
annotations:
need-ignore-key: "need-ignore-value"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-leader
labels:
app: redis-cluster-v1beta2-leader
redis_setup_type: cluster
role: leader
spec:
template:
metadata:
Expand All @@ -16,6 +20,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-follower
labels:
app: redis-cluster-v1beta2-follower
redis_setup_type: cluster
role: follower
spec:
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ spec:
kubernetesConfig:
ignoreAnnotations:
- "need-ignore-key"
image: quay.io/opstree/redis:v7.0.12
imagePullPolicy: IfNotPresent
image: quay.io/opstree/redis:latest
imagePullPolicy: Always
resources:
requests:
cpu: 101m
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/v1beta2/setup/redis-cluster/00-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apply :
- cluster.yaml
assert :
- ready-cluster.yaml
- ready-cluster-sts.yaml
- ready-sts.yaml
- ready-pvc.yaml
4 changes: 2 additions & 2 deletions tests/e2e/v1beta2/setup/redis-cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
runAsUser: 1000
fsGroup: 1000
kubernetesConfig:
image: quay.io/opstree/redis:v7.0.12
imagePullPolicy: IfNotPresent
image: quay.io/opstree/redis:latest
imagePullPolicy: Always
resources:
requests:
cpu: 101m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-leader
labels:
app: redis-cluster-v1beta2-leader
redis_setup_type: cluster
role: leader
status:
replicas: 3
readyReplicas: 3
Expand All @@ -12,6 +16,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-cluster-v1beta2-follower
labels:
app: redis-cluster-v1beta2-follower
redis_setup_type: cluster
role: follower
status:
replicas: 3
readyReplicas: 3
4 changes: 2 additions & 2 deletions tests/e2e/v1beta2/setup/redis-standalone/standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ spec:
runAsUser: 1000
fsGroup: 1000
kubernetesConfig:
image: quay.io/opstree/redis:v7.0.12
imagePullPolicy: IfNotPresent
image: quay.io/opstree/redis:latest
imagePullPolicy: Always
resources:
requests:
cpu: 101m
Expand Down

0 comments on commit dd3f8cb

Please sign in to comment.