Skip to content

Commit

Permalink
fix: redis for preview env
Browse files Browse the repository at this point in the history
  • Loading branch information
tea-artist committed Jan 3, 2025
1 parent 9a1cab4 commit 174130a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/templates/preview-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: openebs-backup
- componentDefRef: redis-sentinel
monitor: true
name: redis-sentinel
Expand Down Expand Up @@ -471,6 +470,24 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
sealos-db-provider-cr: teable-__INSTANCE_NAME__-redis
app.kubernetes.io/instance: teable-__INSTANCE_NAME__-redis
app.kubernetes.io/managed-by: kbcli
cloud.sealos.io/deploy-on-sealos: teable-__INSTANCE_NAME__
name: teable-__INSTANCE_NAME__-redis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: teable-__INSTANCE_NAME__-redis
subjects:
- kind: ServiceAccount
name: teable-__INSTANCE_NAME__-redis
namespace: __NAMESPACE__
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
sealos-db-provider-cr: teable-__INSTANCE_NAME__-redis
Expand Down

0 comments on commit 174130a

Please sign in to comment.