Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
feat(snapshot-controller): ⬆️ Upgrade to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
truxnell committed Oct 29, 2023
1 parent b33132d commit 5f0ec3d
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 87 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
"pyload",
"sonarr",
"rook",
"z2m"
"z2m",
"snapshot-controller"
],
"discord.enabled": true,

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: snapshot-controller
namespace: kube-system
spec:
interval: 30m
chart:
spec:
chart: snapshot-controller
version: 2.0.0
sourceRef:
kind: HelmRepository
name: piraeus
namespace: flux-system
maxHistory: 2
install:
crds: CreateReplace
remediation:
retries: 3
upgrade:
cleanupOnFail: true
crds: CreateReplace
remediation:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: rook-ceph-operator
namespace: rook-ceph
values:
controller:
volumeSnapshotClasses:
- name: csi-ceph-blockpool
driver: rook-ceph.rbd.csi.ceph.com
annotations:
snapshot.storage.kubernetes.io/is-default-class: "true"
parameters:
clusterID: rook-ceph
csi.storage.k8s.io/snapshotter-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph
deletionPolicy: Delete
- name: csi-ceph-filesystem
driver: rook-ceph.cephfs.csi.ceph.com
annotations:
snapshot.storage.kubernetes.io/is-default-class: "false"
parameters:
clusterID: rook-ceph
csi.storage.k8s.io/snapshotter-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph
deletionPolicy: Delete
serviceMonitor:
create: true
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: system-controllers
resources:
- ./snapshot-controller
- ./snapshot-validation-webhook
- ./helmrelease.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 5f0ec3d

Please sign in to comment.