update resource name to prevent conflict
This commit is contained in:
parent
412b1d538a
commit
b6a86b4491
@ -65,7 +65,7 @@ spec:
|
||||
|
||||
env:
|
||||
- name: REDIS_HOST
|
||||
value: sastrafilm-redis.default.svc.cluster.local
|
||||
value: sastrafilm-dragonfly.default.svc.cluster.local
|
||||
- name: REDIS_PORT
|
||||
value: "6379"
|
||||
- name: DATABASE_REPL_MASTER_PASSWORD
|
||||
@ -79,7 +79,7 @@ spec:
|
||||
key: password
|
||||
name: sastrafilm-postgres
|
||||
- name: DATABASE_REPL_MASTER_HOST
|
||||
value: sastrafilm-postgres-rw.default.svc.cluster.local
|
||||
value: sastrafilm-pg-rw-pooler.default.svc.cluster.local
|
||||
- name: DATABASE_REPL_MASTER_PORT
|
||||
value: "5432"
|
||||
- name: DATABASE_REPL_MASTER_USERNAME
|
||||
@ -88,7 +88,7 @@ spec:
|
||||
key: username
|
||||
name: sastrafilm-postgres
|
||||
- name: DATABASE_REPL_REPLICA_HOST
|
||||
value: sastrafilm-postgres-ro.default.svc.cluster.local
|
||||
value: sastrafilm-pg-ro-pooler.default.svc.cluster.local
|
||||
- name: DATABASE_REPL_REPLICA_PORT
|
||||
value: "5432"
|
||||
- name: DATABASE_REPL_REPLICA_USERNAME
|
||||
@ -184,7 +184,7 @@ spec:
|
||||
|
||||
env: &sastrafilm-env
|
||||
- name: REDIS_HOST
|
||||
value: sastrafilm-redis.default.svc.cluster.local
|
||||
value: sastrafilm-dragonfly.default.svc.cluster.local
|
||||
- name: REDIS_PORT
|
||||
value: "6379"
|
||||
- name: DATABASE_REPL_MASTER_PASSWORD
|
||||
@ -198,7 +198,7 @@ spec:
|
||||
key: password
|
||||
name: sastrafilm-postgres
|
||||
- name: DATABASE_REPL_MASTER_HOST
|
||||
value: sastrafilm-postgres-rw.default.svc.cluster.local
|
||||
value: sastrafilm-pg-rw-pooler.default.svc.cluster.local
|
||||
- name: DATABASE_REPL_MASTER_PORT
|
||||
value: "5432"
|
||||
- name: DATABASE_REPL_MASTER_USERNAME
|
||||
@ -207,7 +207,7 @@ spec:
|
||||
key: username
|
||||
name: sastrafilm-postgres
|
||||
- name: DATABASE_REPL_REPLICA_HOST
|
||||
value: sastrafilm-postgres-ro.default.svc.cluster.local
|
||||
value: sastrafilm-pg-ro-pooler.default.svc.cluster.local
|
||||
- name: DATABASE_REPL_REPLICA_PORT
|
||||
value: "5432"
|
||||
- name: DATABASE_REPL_REPLICA_USERNAME
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
apiVersion: dragonflydb.io/v1alpha1
|
||||
kind: Dragonfly
|
||||
metadata:
|
||||
name: sastrafilm
|
||||
name: sastrafilm-dragonfly
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
|
||||
@ -15,7 +15,7 @@ spec:
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: sastrafilm
|
||||
name: sastrafilm-pg
|
||||
namespace: default
|
||||
spec:
|
||||
instances: 2
|
||||
@ -43,7 +43,7 @@ spec:
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Pooler
|
||||
metadata:
|
||||
name: sastrafilm-rw-pooler
|
||||
name: sastrafilm-pg-rw-pooler
|
||||
namespace: default
|
||||
spec:
|
||||
cluster:
|
||||
@ -62,7 +62,7 @@ spec:
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Pooler
|
||||
metadata:
|
||||
name: sastrafilm-ro-pooler
|
||||
name: sastrafilm-pg-ro-pooler
|
||||
namespace: default
|
||||
spec:
|
||||
cluster:
|
||||
@ -88,4 +88,4 @@ spec:
|
||||
method: volumeSnapshot
|
||||
backupOwnerReference: self
|
||||
cluster:
|
||||
name: sastrafilm
|
||||
name: sastrafilm-pg
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
apiVersion: rabbitmq.com/v1beta1
|
||||
kind: RabbitmqCluster
|
||||
metadata:
|
||||
name: sastrafilm
|
||||
name: sastrafilm-amqp
|
||||
namespace: default
|
||||
|
||||
@ -7,6 +7,15 @@ data:
|
||||
password: YWJjZGVm
|
||||
username: YWJjZGVm
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: zerossl-eab
|
||||
namespace: cert-manager
|
||||
data:
|
||||
hmacKey: YWJjZGVm
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user