Skip to content

Commit

Permalink
fluxcd baseinstall infra yaml templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jash2105 committed Apr 28, 2024
1 parent 3398bb9 commit 1219a56
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions jupyterhub/templates/fluxcd/baseinstall/jupyterhub-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: jupyterhub
namespace: flux-system
spec:
interval: 5m
releaseName: jupyterhub
targetNamespace: jupyter
chart:
spec:
chart: jupyterhub
version: '3.3.7'
sourceRef:
kind: HelmRepository
name: jupyterhub
namespace: flux-system
install:
remediation:
retries: 3 # Number of retries for installation failures
upgrade:
remediation:
remediateLastFailure: True # Try to remediate upgrades that failed
8 changes: 8 additions & 0 deletions jupyterhub/templates/fluxcd/baseinstall/jupyterhub-repo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: jupyterhub
namespace: flux-system
spec:
interval: 1m
url: "https://jupyterhub.github.io/helm-chart/"
5 changes: 5 additions & 0 deletions jupyterhub/templates/fluxcd/baseinstall/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- jupyterhub-repo.yaml
- jupyterhub-release.yaml

0 comments on commit 1219a56

Please sign in to comment.