Skip to content

Commit 43024d9

Browse files
committed
add the remaining infra kustomizations to hetzner cluster
1 parent 7c66665 commit 43024d9

File tree

5 files changed

+56
-18
lines changed

5 files changed

+56
-18
lines changed

clusters/private-hetzner/infra-datastore-postgres-operator-kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ spec:
1414
name: flux-system
1515
path: ./infra/datastores/postgres-operator
1616
prune: false
17+
dependsOn:
18+
- name: infra-storage
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: kustomize.toolkit.fluxcd.io/v1
2+
kind: Kustomization
3+
metadata:
4+
name: infra-loki
5+
namespace: flux-system
6+
spec:
7+
decryption:
8+
provider: sops
9+
secretRef:
10+
name: flux-sops
11+
interval: 10m0s
12+
sourceRef:
13+
kind: GitRepository
14+
name: flux-system
15+
path: ./infra/loki
16+
prune: true
17+
dependsOn:
18+
- name: infra-storage
19+
- name: infra-prometheus
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: kustomize.toolkit.fluxcd.io/v1
2+
kind: Kustomization
3+
metadata:
4+
name: infra-utils
5+
namespace: flux-system
6+
spec:
7+
decryption:
8+
provider: sops
9+
secretRef:
10+
name: flux-sops
11+
interval: 10m0s
12+
sourceRef:
13+
kind: GitRepository
14+
name: flux-system
15+
path: ./infra/utils
16+
prune: true
17+
dependsOn:
18+
- name: infra-storage

infra/loki/helm-promtail-release.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ spec:
2020
clients:
2121
- url: http://loki:3100/loki/api/v1/push
2222
snippets:
23-
extraScrapeConfigs: |
24-
- job_name: pacmanlog
25-
static_configs:
26-
- targets:
27-
- localhost
28-
labels:
29-
job: pacman
30-
__path__: /var/log/pacman.log
31-
pipeline_stages:
32-
- match:
33-
selector: '{job="pacman"}'
34-
stages:
35-
- regex:
36-
expression: '^\[(?P<timestamp>.*?)\]'
37-
- timestamp:
38-
format: RFC3339
39-
source: timestamp
23+
#extraScrapeConfigs: |
24+
# - job_name: pacmanlog
25+
# static_configs:
26+
# - targets:
27+
# - localhost
28+
# labels:
29+
# job: pacman
30+
# __path__: /var/log/pacman.log
31+
# pipeline_stages:
32+
# - match:
33+
# selector: '{job="pacman"}'
34+
# stages:
35+
# - regex:
36+
# expression: '^\[(?P<timestamp>.*?)\]'
37+
# - timestamp:
38+
# format: RFC3339
39+
# source: timestamp
4040
defaultVolumeMounts:
4141
- mountPath: /var/log/pods
4242
name: pods

infra/utils/etcd-backup/cronjob-etcd-backup.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ metadata:
44
name: etcd-backup
55
namespace: kube-system
66
spec:
7-
storageClassName: nfs-sc
87
accessModes:
98
- ReadWriteOnce
109
resources:

0 commit comments

Comments
 (0)