mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add custom pw wp
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mbgwp-folder
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/rubenhensen/k8scd.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: mbgwp
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mbgwp
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
@@ -76,6 +76,9 @@ spec:
|
|||||||
##
|
##
|
||||||
annotations: {}
|
annotations: {}
|
||||||
allowEmptyPassword: false
|
allowEmptyPassword: false
|
||||||
|
wordpressPassword: wordpress-password
|
||||||
|
wordpressUsername: rubenhensen
|
||||||
|
smtpExistingSecret: smtp-password
|
||||||
lifecycleHooks:
|
lifecycleHooks:
|
||||||
postStart:
|
postStart:
|
||||||
exec:
|
exec:
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: wordpress-secrets
|
||||||
|
namespace: default # Change to your desired namespace
|
||||||
|
spec:
|
||||||
|
refreshInterval: "15m"
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault-backend
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: wordpress-credentials
|
||||||
|
creationPolicy: Owner
|
||||||
|
data:
|
||||||
|
- secretKey: wordpress-password
|
||||||
|
remoteRef:
|
||||||
|
key: kv/mbgwp
|
||||||
|
property: wordpress-password
|
||||||
|
- secretKey: smtp-password
|
||||||
|
remoteRef:
|
||||||
|
key: kv/mbgwp
|
||||||
|
property: smtp-password
|
||||||
Reference in New Issue
Block a user