Skip to content

Commit

Permalink
chore: this is what it looks like without helmfile
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Feb 27, 2025
1 parent b522d03 commit f58519b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 61 deletions.
33 changes: 1 addition & 32 deletions bootstrap/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@ helmDefaults:
# waitRetries: 3 # Not supported by Helm yet

repositories:
- name: backube
url: https://backube.github.io/helm-charts

- name: cilium
url: https://helm.cilium.io

- name: jetstack
url: https://charts.jetstack.io

- name: piraeus
url: https://piraeus.io/helm-charts

releases:
- name: cilium
namespace: kube-system
Expand Down Expand Up @@ -66,37 +60,12 @@ releases:
values: ['{{ requiredEnv "ROOT_DIR" }}/kubernetes/apps/external-secrets/external-secrets/app/helm/values.yaml']
needs: ['cert-manager/cert-manager']

- name: snapshot-controller
namespace: kube-system
chart: piraeus/snapshot-controller
version: 4.0.1
values: ['{{ requiredEnv "ROOT_DIR" }}/kubernetes/apps/kube-system/snapshot-controller/app/helm/values.yaml']
needs: ['kube-system/coredns']

- name: volsync
namespace: volsync-system
chart: backube/volsync
version: 0.12.0-rc.2
values: ['{{ requiredEnv "ROOT_DIR" }}/kubernetes/apps/volsync-system/volsync/app/helm/values.yaml']
hooks:
- # Apply volsync mover mutating admission policies
events: ['postsync']
command: kubectl
args:
- apply
- --namespace=volsync-system
- --server-side
- --field-manager=kustomize-controller
- --filename={{ requiredEnv "ROOT_DIR" }}/kubernetes/apps/volsync-system/volsync/app/mutatingadmissionpolicy.yaml
showlogs: true
needs: ['kube-system/snapshot-controller']

- name: flux-operator
namespace: flux-system
chart: oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator
version: 0.16.0
values: ['{{ requiredEnv "ROOT_DIR" }}/kubernetes/apps/flux-system/flux-operator/app/helm/values.yaml']
needs: ['external-secrets/external-secrets', 'volsync-system/volsync']
needs: ['external-secrets/external-secrets']

- name: flux-instance
namespace: flux-system
Expand Down
29 changes: 0 additions & 29 deletions kubernetes/apps/kube-system/cilium/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,3 @@ spec:
values:
operator:
tolerations: []
# Enable Hubble, Hubble Relay and Hubble UI
# hubble:
# enabled: true
# metrics:
# enabled:
# - dns:query
# - drop
# - tcp
# - flow
# - port-distribution
# - icmp
# - http
# serviceMonitor:
# enabled: true
# dashboards:
# enabled: true
# relay:
# enabled: true
# rollOutPods: true
# prometheus:
# serviceMonitor:
# enabled: true
# ui:
# enabled: true
# rollOutPods: true
# ingress:
# enabled: true
# className: internal
# hosts: ["hubble.devbu.io"]
4 changes: 4 additions & 0 deletions kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
dependsOn:
- name: rook-ceph-operator
namespace: rook-ceph
- name: snapshot-controller
namespace: kube-system
- name: volsync
namespace: volsync-system
values:
monitoring:
enabled: true
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/apps/volsync-system/volsync/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
remediation:
strategy: rollback
retries: 3
dependsOn:
- name: snapshot-controller
namespace: kube-system
valuesFrom:
- kind: ConfigMap
name: volsync-values

0 comments on commit f58519b

Please sign in to comment.