Skip to content

Commit 57fc3c4

Browse files
install taskchampion
1 parent 2c7d11b commit 57fc3c4

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed
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: "taskchampion"
5+
components:
6+
- ../../../apps/taskchampion/components/istio
7+
- ../../../apps/taskchampion/components/pvc
8+
resources:
9+
- "../../../apps/taskchampion"
10+
- namespace.yaml
11+
- "pv.yaml"
12+
patches:
13+
- target:
14+
kind: VirtualService
15+
name: taskchampion
16+
patch: |-
17+
- op: replace
18+
path: /spec/hosts
19+
value:
20+
- taskchampion.dqs.dd.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: taskchampion
6+
labels:
7+
name: taskchampion
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: "v1"
3+
kind: "PersistentVolume"
4+
metadata:
5+
name: "taskchampion"
6+
spec:
7+
capacity:
8+
storage: "1Gi"
9+
accessModes:
10+
- "ReadWriteOnce"
11+
storageClassName: "local-storage"
12+
local:
13+
path: "/mnt/k8s/taskchampion"
14+
claimRef:
15+
namespace: "taskchampion"
16+
name: "taskchampion"
17+
nodeAffinity:
18+
required:
19+
nodeSelectorTerms:
20+
- matchExpressions:
21+
- key: "kubernetes.io/hostname"
22+
operator: "In"
23+
values:
24+
- "k8s-dqs.dd.soeren.cloud"

0 commit comments

Comments
 (0)