Skip to content

Commit 9a7a1b6

Browse files
badenerbdtapiacl
authored andcommitted
(k8up/fleet.yaml) add k8up fleet and values
1 parent e69c34b commit 9a7a1b6

File tree

6 files changed

+82
-0
lines changed

6 files changed

+82
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: external-secrets.io/v1beta1
2+
kind: ExternalSecret
3+
metadata:
4+
name: k8up-s3-credentials
5+
namespace: k8up
6+
spec:
7+
secretStoreRef:
8+
kind: ClusterSecretStore
9+
name: onepassword
10+
target:
11+
name: k8up-s3-credentials
12+
creationPolicy: Owner
13+
data:
14+
- secretKey: access-key-id
15+
remoteRef:
16+
key: k8up-credentials
17+
property: access_key
18+
- secretKey: secret-access-key
19+
remoteRef:
20+
key: k8up-credentials
21+
property: secret_key

fleet/lib/k8up-pre/fleet.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
defaultNamespace: k8up
3+
labels:
4+
bundle: &name k8up-pre
5+
namespaceLabels:
6+
lsst.io/discover: "true"
7+
helm:
8+
releaseName: *name
9+
timeoutSeconds: 60
10+
waitForJobs: true

fleet/lib/k8up/fleet.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
defaultNamespace: &name k8up
3+
namespaceLabels:
4+
lsst.io/discover: "true"
5+
labels:
6+
bundle: *name
7+
helm:
8+
chart: *name
9+
releaseName: *name
10+
repo: https://k8up-io.github.io/k8up
11+
version: 4.8.4
12+
timeoutSeconds: 60
13+
waitForJobs: true
14+
valuesFiles:
15+
- values.yaml
16+
dependsOn:
17+
- selector:
18+
matchLabels:
19+
bundle: k8up-pre

fleet/lib/k8up/values.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
replicaCount: 3
2+
k8up:
3+
envVars:
4+
- name: BACKUP_S3_ENDPOINT
5+
value: s3.ruka.dev.lsst.org
6+
- name: BACKUP_GLOBALACCESSKEYID
7+
valueFrom:
8+
secretKeyRef:
9+
name: k8up-s3-credentials
10+
key: access-key-id
11+
- name: BACKUP_GLOBALSECRETACCESSKEY
12+
valueFrom:
13+
secretKeyRef:
14+
name: k8up-s3-credentials
15+
key: secret-access-key
16+
17+
timezone: America/Santiago
18+
19+
resources:
20+
limits:
21+
memory: 256Mi
22+
requests:
23+
cpu: 20m
24+
memory: 128Mi
25+
26+
metrics:
27+
serviceMonitor:
28+
enabled: true
29+
additionalLabels:
30+
lsst.io/monitor: "true"

fleet/s/dev/c/ruka/k8up

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../lib/k8up

fleet/s/dev/c/ruka/k8up-pre

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../lib/k8up-pre

0 commit comments

Comments
 (0)