Skip to content

Commit

Permalink
feat: add storage, upgrade talos and kubernetes
Browse files Browse the repository at this point in the history
Added storage with Mayastor
Upgraded talos to 1.7.4
Upgraded kubernetes to 1.29.5

Refs: #3
Signed-off-by: Wim de Groot <[email protected]>
  • Loading branch information
wim-de-groot committed Jun 23, 2024
1 parent 4a412c3 commit d4fea19
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/argocd/argocd/bootstrap-app-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,8 @@ spec:
kind: CustomResourceDefinition
jsonPointers:
- /status
- group: storage.k8s.io
kind: CSIDriver
jqPathExpressions:
- .spec.seLinuxMount

7 changes: 7 additions & 0 deletions apps/csi-driver-nfs/csi-driver-nfs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v2
name: csi-driver-nfs
version: v4.7.0
dependencies:
- name: csi-driver-nfs
version: v4.7.0
repository: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
8 changes: 8 additions & 0 deletions apps/csi-driver-nfs/resources/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: csi-driver-nfs
labels:
kubernetes.io/metadata.name: csi-driver-nfs
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/enforce-version: latest
16 changes: 16 additions & 0 deletions apps/csi-driver-nfs/resources/storageclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: 4546b
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: nfs.csi.k8s.io
parameters:
server: 10.0.0.32
share: /mnt/forty-five-forty-six-b/cluster
reclaimPolicy: Retain
volumeBindingMode: Immediate
mountOptions:
- hard
- nfsvers=4.1
allowVolumeExpansion: true
7 changes: 7 additions & 0 deletions apps/postgresql/cloudnative-pg/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v2
name: cloudnative-pg
version: 0.19.1
dependencies:
- name: cloudnative-pg
version: 0.19.1
repository: https://cloudnative-pg.github.io/charts
6 changes: 6 additions & 0 deletions apps/postgresql/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config:
create: true

crds:
create: true

9 changes: 6 additions & 3 deletions infra/cluster-template.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
kind: Cluster
name: 4546B
talos:
version: v1.6.7
version: v1.7.4
kubernetes:
version: 1.29.3
version: 1.29.5
features:
enableWorkloadProxy: false
enableWorkloadProxy: false
patches:
- name: kubespan
file: infra/patches/kubespan.yaml
---
kind: ControlPlane
machineClass:
Expand Down
4 changes: 4 additions & 0 deletions infra/patches/kubespan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
machine:
network:
kubespan:
enabled: true

0 comments on commit d4fea19

Please sign in to comment.