From 0829ead6fb61c3bc0a4c7400be6c049642654aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=98eho=C5=99?= Date: Mon, 20 May 2024 01:15:01 +0200 Subject: [PATCH] chore(dragonfly): rename external secret to redis-secret --- .../apps/database/dragonfly/cluster/cluster.yaml | 2 +- .../dragonfly/secret-store/clustersecretstore.yaml | 4 ++-- .../apps/database/dragonfly/secret-store/rbac.yaml | 12 ++++++------ .../database/dragonfly/secret-store/secret.sops.yaml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/kubernetes/main/apps/database/dragonfly/cluster/cluster.yaml b/kubernetes/main/apps/database/dragonfly/cluster/cluster.yaml index 7a254a5d..347a3fb8 100644 --- a/kubernetes/main/apps/database/dragonfly/cluster/cluster.yaml +++ b/kubernetes/main/apps/database/dragonfly/cluster/cluster.yaml @@ -20,7 +20,7 @@ spec: - --lock_on_hashtags authentication: passwordFromSecret: - name: dragonfly-secret + name: redis-secret key: password resources: requests: diff --git a/kubernetes/main/apps/database/dragonfly/secret-store/clustersecretstore.yaml b/kubernetes/main/apps/database/dragonfly/secret-store/clustersecretstore.yaml index 7174c658..65ed8c64 100644 --- a/kubernetes/main/apps/database/dragonfly/secret-store/clustersecretstore.yaml +++ b/kubernetes/main/apps/database/dragonfly/secret-store/clustersecretstore.yaml @@ -2,14 +2,14 @@ apiVersion: external-secrets.io/v1beta1 kind: ClusterSecretStore metadata: - name: dragonfly-secret-store + name: redis-secret-store spec: provider: kubernetes: remoteNamespace: database auth: serviceAccount: - name: dragonfly-secret-manager + name: redis-secret-manager namespace: database server: caProvider: diff --git a/kubernetes/main/apps/database/dragonfly/secret-store/rbac.yaml b/kubernetes/main/apps/database/dragonfly/secret-store/rbac.yaml index 6832e5de..0f297e6c 100644 --- a/kubernetes/main/apps/database/dragonfly/secret-store/rbac.yaml +++ b/kubernetes/main/apps/database/dragonfly/secret-store/rbac.yaml @@ -2,18 +2,18 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: dragonfly-secret-manager + name: redis-secret-manager --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - name: dragonfly-secret-manager-role + name: redis-secret-manager-role rules: - apiGroups: [""] resources: - secrets resourceNames: - - dragonfly-secret + - redis-secret verbs: - get - list @@ -28,12 +28,12 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: dragonfly-secret-manager-binding + name: redis-secret-manager-binding subjects: - kind: ServiceAccount - name: dragonfly-secret-manager + name: redis-secret-manager namespace: database roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: dragonfly-secret-manager-role + name: redis-secret-manager-role diff --git a/kubernetes/main/apps/database/dragonfly/secret-store/secret.sops.yaml b/kubernetes/main/apps/database/dragonfly/secret-store/secret.sops.yaml index 046a263d..b48f4bba 100644 --- a/kubernetes/main/apps/database/dragonfly/secret-store/secret.sops.yaml +++ b/kubernetes/main/apps/database/dragonfly/secret-store/secret.sops.yaml @@ -1,10 +1,10 @@ apiVersion: v1 kind: Secret metadata: - name: dragonfly-secret + name: redis-secret type: kubernetes.io/basic-auth stringData: - username: ENC[AES256_GCM,data:q1syECEHzlku,iv:Ft/Kwi788xSLcbZFzzvs0oEWBgtM3+wRhM+fzFFXaGI=,tag:AksZsqPTrAEtBt5ONBYMhA==,type:str] + username: ENC[AES256_GCM,data:713i/zQ=,iv:kqu1GYCEUJwix5mJTcZoSzmh6p0t3gvkLjROl+vN23I=,tag:P494pLNIAMWplcSptx3d2A==,type:str] password: ENC[AES256_GCM,data:z/mvnn+uDdyuMP8w/e3b30HcMv/uDtQvcExLzW8B2jlQbNX9Us5Ob+M/E8sjGxG4Y2kuMishO9PQgfq+6MDnBw==,iv:m51Tw9yYPrnlUPubqGtCU+LyylaGjrXkiGCcJzK2IfY=,tag:x4de+pR0Qd6BL5JVwzsfdA==,type:str] host: ENC[AES256_GCM,data:3jlG9CbloDNLUPLFdUXutDJE61727bShQ74Jrj7XTJrZhihq,iv:MD6c0FsKWNyJHBAQy1ZI/62k0h+TNL990jXimrTZNEc=,tag:u4EZpKa4ZJ98TsB86Xni0g==,type:str] port: ENC[AES256_GCM,data:3Ew/JA==,iv:Nlsqd0OCqi2rJLD6gIRf+p5JQu2zVz0ygZ2zNaQw03I=,tag:0Ixm2b8UHlBtUHIwOICXCA==,type:str] @@ -23,8 +23,8 @@ sops: dHFnSm1OeHdzVElYdC8yNkpFV3I5QVUKuAfcF2UIgxBcGT0ULdOTL9MHm6kynVDO Nr1TRBfWBga7eNfeffniTHunS+ag+w3swhGCt6w6heSJyyZz3Y8hNQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-05-19T14:21:05Z" - mac: ENC[AES256_GCM,data:z766h9nNYXqV5WcDhVxwOrwYfo8kMG/kyQNdqwUWbFZprcEe9k4MCedAIkrJzRKVoxS1tYvYb8AWjhlCMIg9sGpdLk5+aUbcLsAiTUOicAq+nuhySfKTFApHhyVKopGB9XHX8V6H5xi7MmvhK+0P0NVVY4CLBuLGhLdVmtvrwzY=,iv:CX/ri2UdqbJryyeitybkWUvJaBDGPaUhV+GOq+pQyPo=,tag:AhusS/dEINZYScE9SkDR2w==,type:str] + lastmodified: "2024-05-19T23:13:48Z" + mac: ENC[AES256_GCM,data:N1B+/5wRDOPQeIdtBbc9Ec0DY0APnUZfGpuhsA5or7SiXc1ljAFQBM8itqLDP83mhzRxzTHZrmaoPcHRSg0+ubemQ22UyUCYEl5G9v5UpVC+HwKZG9pi+OcWfUCazS05Dlm/SLpPa9JTYy3VwTYs4Gj6jtRLBZgsnzcp6x1+LOc=,iv:6sTd1pQQb5Of6UStZB1UipHNODmma8VQ1CTZviZmRkk=,tag:IlKJgxUvT5ZZPbe62CxYOw==,type:str] pgp: [] encrypted_regex: ^(data|stringData)$ version: 3.8.1