File tree Expand file tree Collapse file tree 5 files changed +38
-1
lines changed
apps/gotify/components/networkpolicy-hermes
clusters/svc.pt.soeren.cloud Expand file tree Collapse file tree 5 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : " kustomize.config.k8s.io/v1alpha1"
3
+ kind : " Component"
4
+ patches :
5
+ - target :
6
+ kind : " NetworkPolicy"
7
+ name : " gotify"
8
+ patch : |-
9
+ - op: "add"
10
+ path: "/spec/ingress/0/from/-"
11
+ value:
12
+ namespaceSelector:
13
+ matchLabels:
14
+ kubernetes.io/metadata.name: "hermes"
15
+ podSelector:
16
+ matchLabels:
17
+ app: "hermes"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ resources:
9
9
components :
10
10
- " ../../../apps/gotify/components/istio"
11
11
- " ../../../apps/gotify/components/db-mysql"
12
+ - " ../../../apps/gotify/components/networkpolicy-hermes"
12
13
patches :
13
14
- target :
14
15
kind : " VirtualService"
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : external-secrets.io/v1beta1
3
+ kind : ExternalSecret
4
+ metadata :
5
+ name : hermes-tokens
6
+ spec :
7
+ refreshInterval : 12h
8
+ secretStoreRef :
9
+ name : " vault"
10
+ kind : " ClusterSecretStore"
11
+ target :
12
+ name : " hermes-tokens"
13
+ creationPolicy : " Owner"
14
+ data :
15
+ - secretKey : " gotify"
16
+ remoteRef :
17
+ key : " secret/soeren.cloud/env/prod/hermes"
18
+ property : " gotify"
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ awtrix:
13
13
dead_letter_queue : " gotify"
14
14
gotify :
15
15
- uri : " gotify"
16
- token_file : " /etc/hermes/gotify_token "
16
+ token_file : " /etc/hermes/gotify "
17
17
addr : " http://gotify.gotify"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ components:
9
9
resources :
10
10
- " namespace.yaml"
11
11
- " ../../../apps/hermes"
12
+ - " external-secret-hermes.yaml"
12
13
configMapGenerator :
13
14
- name : " hermes-config"
14
15
files :
You can’t perform that action at this time.
0 commit comments