Skip to content

Commit 49d6366

Browse files
add gotify
1 parent 5eb8c3a commit 49d6366

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: external-secrets.io/v1beta1
3+
kind: ExternalSecret
4+
metadata:
5+
name: gotify-db-credentials
6+
spec:
7+
refreshInterval: 12h
8+
secretStoreRef:
9+
name: "vault"
10+
kind: "ClusterSecretStore"
11+
target:
12+
name: "gotify-db-credentials"
13+
template:
14+
engineVersion: v2
15+
data:
16+
GOTIFY_DATABASE_CONNECTION: "gotify:{{ .password }}@tcp(dbs.ez.soeren.cloud:3306)/gotify?charset=utf8&parseTime=True&loc=Local&tls=true"
17+
data:
18+
- secretKey: "password"
19+
remoteRef:
20+
key: "secret/soeren.cloud/env/prod/mariadb/galera-prod/gotify/gotify"
21+
property: "password"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
apiVersion: "kustomize.config.k8s.io/v1beta1"
3+
kind: "Kustomization"
4+
namespace: "gotify"
5+
resources:
6+
- "namespace.yaml"
7+
- "../../../apps/gotify"
8+
- external-secret-gotify.yaml
9+
components:
10+
- "../../../apps/gotify/components/istio"
11+
- "../../../apps/gotify/components/db-mysql"
12+
patches:
13+
- target:
14+
kind: "VirtualService"
15+
name: "gotify"
16+
patch: |-
17+
- op: "replace"
18+
path: "/spec/hosts"
19+
value:
20+
- "gotify.svc.ez.soeren.cloud"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
kind: "Namespace"
3+
apiVersion: "v1"
4+
metadata:
5+
name: "gotify"
6+
labels:
7+
name: "gotify"

0 commit comments

Comments
 (0)