Skip to content

Commit

Permalink
chore(dragonfly): rename external secret to redis-secret
Browse files Browse the repository at this point in the history
  • Loading branch information
prehor committed May 19, 2024
1 parent 9d0a312 commit 0829ead
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- --lock_on_hashtags
authentication:
passwordFromSecret:
name: dragonfly-secret
name: redis-secret
key: password
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions kubernetes/main/apps/database/dragonfly/secret-store/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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

0 comments on commit 0829ead

Please sign in to comment.