update resource name to prevent conflict

This commit is contained in:
shadowlegend 2025-02-16 00:16:49 +07:00
parent 412b1d538a
commit b6a86b4491
5 changed files with 21 additions and 12 deletions

View File

@ -65,7 +65,7 @@ spec:
env: env:
- name: REDIS_HOST - name: REDIS_HOST
value: sastrafilm-redis.default.svc.cluster.local value: sastrafilm-dragonfly.default.svc.cluster.local
- name: REDIS_PORT - name: REDIS_PORT
value: "6379" value: "6379"
- name: DATABASE_REPL_MASTER_PASSWORD - name: DATABASE_REPL_MASTER_PASSWORD
@ -79,7 +79,7 @@ spec:
key: password key: password
name: sastrafilm-postgres name: sastrafilm-postgres
- name: DATABASE_REPL_MASTER_HOST - 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 - name: DATABASE_REPL_MASTER_PORT
value: "5432" value: "5432"
- name: DATABASE_REPL_MASTER_USERNAME - name: DATABASE_REPL_MASTER_USERNAME
@ -88,7 +88,7 @@ spec:
key: username key: username
name: sastrafilm-postgres name: sastrafilm-postgres
- name: DATABASE_REPL_REPLICA_HOST - 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 - name: DATABASE_REPL_REPLICA_PORT
value: "5432" value: "5432"
- name: DATABASE_REPL_REPLICA_USERNAME - name: DATABASE_REPL_REPLICA_USERNAME
@ -184,7 +184,7 @@ spec:
env: &sastrafilm-env env: &sastrafilm-env
- name: REDIS_HOST - name: REDIS_HOST
value: sastrafilm-redis.default.svc.cluster.local value: sastrafilm-dragonfly.default.svc.cluster.local
- name: REDIS_PORT - name: REDIS_PORT
value: "6379" value: "6379"
- name: DATABASE_REPL_MASTER_PASSWORD - name: DATABASE_REPL_MASTER_PASSWORD
@ -198,7 +198,7 @@ spec:
key: password key: password
name: sastrafilm-postgres name: sastrafilm-postgres
- name: DATABASE_REPL_MASTER_HOST - 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 - name: DATABASE_REPL_MASTER_PORT
value: "5432" value: "5432"
- name: DATABASE_REPL_MASTER_USERNAME - name: DATABASE_REPL_MASTER_USERNAME
@ -207,7 +207,7 @@ spec:
key: username key: username
name: sastrafilm-postgres name: sastrafilm-postgres
- name: DATABASE_REPL_REPLICA_HOST - 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 - name: DATABASE_REPL_REPLICA_PORT
value: "5432" value: "5432"
- name: DATABASE_REPL_REPLICA_USERNAME - name: DATABASE_REPL_REPLICA_USERNAME

View File

@ -2,7 +2,7 @@
apiVersion: dragonflydb.io/v1alpha1 apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly kind: Dragonfly
metadata: metadata:
name: sastrafilm name: sastrafilm-dragonfly
namespace: default namespace: default
spec: spec:
replicas: 1 replicas: 1

View File

@ -15,7 +15,7 @@ spec:
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Cluster kind: Cluster
metadata: metadata:
name: sastrafilm name: sastrafilm-pg
namespace: default namespace: default
spec: spec:
instances: 2 instances: 2
@ -43,7 +43,7 @@ spec:
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Pooler kind: Pooler
metadata: metadata:
name: sastrafilm-rw-pooler name: sastrafilm-pg-rw-pooler
namespace: default namespace: default
spec: spec:
cluster: cluster:
@ -62,7 +62,7 @@ spec:
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Pooler kind: Pooler
metadata: metadata:
name: sastrafilm-ro-pooler name: sastrafilm-pg-ro-pooler
namespace: default namespace: default
spec: spec:
cluster: cluster:
@ -88,4 +88,4 @@ spec:
method: volumeSnapshot method: volumeSnapshot
backupOwnerReference: self backupOwnerReference: self
cluster: cluster:
name: sastrafilm name: sastrafilm-pg

View File

@ -2,5 +2,5 @@
apiVersion: rabbitmq.com/v1beta1 apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster kind: RabbitmqCluster
metadata: metadata:
name: sastrafilm name: sastrafilm-amqp
namespace: default namespace: default

View File

@ -7,6 +7,15 @@ data:
password: YWJjZGVm password: YWJjZGVm
username: YWJjZGVm username: YWJjZGVm
---
apiVersion: v1
kind: Secret
metadata:
name: zerossl-eab
namespace: cert-manager
data:
hmacKey: YWJjZGVm
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret