mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
Add custom pw wp
This commit is contained in:
1 parent
f3f337ff7b
commit
7bce445878
18 files changed
+46
No files matched your search
@@ -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: {}
|
||||
allowEmptyPassword: false
|
||||
wordpressPassword: wordpress-password
|
||||
wordpressUsername: rubenhensen
|
||||
smtpExistingSecret: smtp-password
|
||||
lifecycleHooks:
|
||||
postStart:
|
||||
exec:
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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