Update 4 files

- /kong/templates/secrets.yaml
- /kong/Chart.yaml
- /kong/values.yaml
- /argocd/templates/kong.yaml
This commit is contained in:
2023-06-11 13:01:45 +00:00
parent 50a38a56d0
commit 30c8111337
4 changed files with 1287 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: durpapi
namespace: argocd
spec:
project: default
source:
repoURL: https://gitlab.com/developerdurp/homelab.git
targetRevision: main
path: durpapi
destination:
namespace: durpapi
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

12
kong/Chart.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v2
name: kong
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.16.0"
dependencies:
- name: kong
repository: https://charts.konghq.com
version: 2.23.0

View File

@@ -0,0 +1,59 @@
apiVersion: v1
data:
license: J3t9Jw==
kind: Secret
metadata:
creationTimestamp: null
name: kong-enterprise-license
namespace: kong
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: kong-config-secret
spec:
secretStoreRef:
name: vault-kong
kind: SecretStore
target:
name: kong-config-secret
data:
- secretKey: admin_gui_session_conf
remoteRef:
key: secrets/kong/config
property: admin_gui_session_conf
- secretKey: kong_admin_password
remoteRef:
key: secrets/kong/config
property: kong_admin_password
- secretKey: password
remoteRef:
key: secrets/kong/config
property: password
- secretKey: pg_host
remoteRef:
key: secrets/kong/config
property: pg_host
- secretKey: portal_session_conf
remoteRef:
key: secrets/kong/config
property: portal_session_conf
---
apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: vault-kong
spec:
provider:
vault:
server: "http://vault.vault.svc.cluster.local:8200"
path: "secrets"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "external-secrets"

1196
kong/values.yaml Normal file

File diff suppressed because it is too large Load Diff