Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
7e42b96
feat(local): publish the gateway on host ports and remove MetalLB
marcelovilla Aug 28, 2026
67779ba
validate gateway host ports and bound the int32 conversion
marcelovilla Aug 28, 2026
934c5d2
Add manifest to install and configure crossplane as part of foundational
marcelovilla Aug 28, 2026
1c5a398
Add crossplane values
marcelovilla Aug 28, 2026
e8c84e1
Add spins app to watch spins/ folder in gitops repo
marcelovilla Aug 28, 2026
0ba2597
Remove comment
marcelovilla Aug 28, 2026
a630c63
Add poc spin comoposition, definition, and instance
marcelovilla Aug 28, 2026
a5a7c65
Remove comments
marcelovilla Aug 28, 2026
e9ea18c
Add crossplane pkg to test
marcelovilla Aug 28, 2026
6fd00f8
Fix host ports indentation
marcelovilla Aug 31, 2026
a1a2d8a
Add test cases
marcelovilla Aug 31, 2026
df24937
Remove references to metallb and amend old ADRs
marcelovilla Aug 31, 2026
3de478f
Add port to hosts file guidance message when using a non-default one
marcelovilla Aug 31, 2026
daed532
Reject configs with a dns block when cluster provider is local
marcelovilla Aug 31, 2026
1daf2a7
Replace GatewayHostPorts with GatewayHostAddress to express both the
marcelovilla Aug 31, 2026
49acb44
Update comment on hostPort
marcelovilla Aug 31, 2026
1506229
Improve port validation
marcelovilla Aug 31, 2026
44b8a4c
Run go fmt
marcelovilla Aug 31, 2026
a1f5d9b
Merge branch 'fix/metallb-address-derivation' into poc/crossplane-spin
marcelovilla Aug 31, 2026
8923c82
Merge branch 'main' into fix/metallb-address-derivation
marcelovilla Sep 1, 2026
a5d0d69
Read the Envoy service in nic outputs instead of asserting 127.0.0.1
marcelovilla Sep 1, 2026
46d6bb3
Create configmap recording ports and read from that when deploying on
marcelovilla Sep 1, 2026
749c688
Add new ADR documenting the decision of getting rid of MetalLB, favoring
marcelovilla Sep 1, 2026
c01dc18
Probe the gateway with a real HTTPS request before nic outputs reports
marcelovilla Sep 1, 2026
75df369
Update deployment action in ci workflow
marcelovilla Sep 1, 2026
a2d963b
Make "gateway_address" a const
marcelovilla Sep 1, 2026
bf2ab9e
Merge branch 'main' into fix/metallb-address-derivation
marcelovilla Sep 2, 2026
5ebc78b
Update deploy nebari action to v0.3.0
marcelovilla Sep 2, 2026
48178dd
Add ADR 18
marcelovilla Sep 2, 2026
5dfb65a
Restore pixi.lock from main
marcelovilla Sep 2, 2026
63c1b58
Document wildcard loopback domains as the /etc/hosts alternative
marcelovilla Sep 2, 2026
4c72c0e
Warn when adopting unverified host ports on a cluster without a marker
marcelovilla Sep 2, 2026
8cfa021
Test CheckNodePorts in its own package
marcelovilla Sep 2, 2026
4e1409f
Merge branch 'main' into fix/metallb-address-derivation
marcelovilla Sep 2, 2026
00d53ea
Credit the journey suite as the CI reachability gate in ADR-0018 and …
marcelovilla Sep 3, 2026
c1e8957
Merge branch 'main' into fix/metallb-address-derivation
marcelovilla Sep 3, 2026
08d3086
Merge branch 'fix/metallb-address-derivation' into poc/crossplane-spin
marcelovilla Sep 3, 2026
c05d910
Add README in spins subfolder to create the folder where users put pins
marcelovilla Sep 3, 2026
5667b9f
Merge branch 'main' into poc/crossplane-spin
marcelovilla Sep 8, 2026
e8f8798
Update crossplane values
marcelovilla Sep 8, 2026
a4dc1c4
Move composition to a crossplane control plane project
marcelovilla Sep 8, 2026
a2dfed2
Add dask-gateway pack to the composition
marcelovilla Sep 10, 2026
2801965
Add secret to example
marcelovilla Sep 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: apiextensions.crossplane.io/v1
kind: Composition
metadata:
name: datasciencespins.platform.nebari.dev
spec:
compositeTypeRef:
apiVersion: platform.nebari.dev/v1alpha1
kind: DataScienceSpin
mode: Pipeline
pipeline:
- functionRef:
# Derived from crossplane-project.yaml's repository plus the function
# directory name: <repo-path>_render-applications as a DNS label.
name: nebari-datascience-spin-pocrender-applications
step: render-applications
- functionRef:
name: crossplane-contrib-function-sequencer
input:
apiVersion: sequencer.fn.crossplane.io/v1beta1
kind: Input
rules:
- sequence:
- nebi-app
- dsp-app
step: enforce-install-order
- functionRef:
name: crossplane-contrib-function-auto-ready
step: crossplane-contrib-function-auto-ready
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
apiVersion: apiextensions.crossplane.io/v2
kind: CompositeResourceDefinition
metadata:
name: datasciencespins.platform.nebari.dev
spec:
group: platform.nebari.dev
names:
categories:
- crossplane
kind: DataScienceSpin
plural: datasciencespins
scope: Cluster
versions:
- name: v1alpha1
referenceable: true
schema:
openAPIV3Schema:
description: DataScienceSpin is the Schema for the DataScienceSpin API.
properties:
spec:
properties:
daskGateway:
default: {}
properties:
namespace:
default: dask-gateway
type: string
releaseName:
default: dask-gateway-pack
type: string
values:
description: Extra Helm values passed through to the pack chart.
Wiring keys the composition owns (nebariapp.hostname, gateway.auth.*)
win over anything set here.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
default: 3f35ed41115f25da8d029b2d9a55a66b4c7f2e12
description: Git revision of nebari-dev/dask-gateway-pack (the
pack is unreleased; switches to a chart version once it publishes).
type: string
type: object
dataScience:
default: {}
properties:
namespace:
default: data-science
type: string
releaseName:
default: data-science-pack
description: Load-bearing. The chart hardcodes the OIDC client
Secret name as <release>-nebari-data-science-pack, so a different
release name silently falls back to dummy auth unless the values
override both hub mounts.
type: string
values:
description: Extra Helm values passed through to the chart. The
wiring keys the composition owns (keycloak.hostname, nebi.namespace,
nebi.releaseName) win over anything set here.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
default: 0.1.5
type: string
type: object
domain:
description: Base domain of the platform. Everything derives from
it by the packs' conventions. Keycloak at keycloak.<domain>, Nebi
at nebi.<domain>, the hub at hub.<domain>.
type: string
nebi:
default: {}
properties:
namespace:
default: nebi
type: string
releaseName:
default: nebi-pack
description: Drives the operator-provisioned OIDC client id (nebi-<releaseName>-nebari-nebi-pack)
and the in-cluster service name DSP derives. The DSP defaults
assume nebi-pack, so change both sides together.
type: string
values:
description: Extra Helm values passed through to the chart. The
wiring keys the composition owns (nebariapp.hostname) win over
anything set here.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
default: 0.1.3
type: string
type: object
required:
- domain
type: object
status:
type: object
required:
- spec
type: object
served: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: platform.nebari.dev/v1alpha1
kind: DataScienceSpin
spec:
domain: string | required=true description="Base domain of the platform. Everything derives from it by the packs' conventions. Keycloak at keycloak.<domain>, Nebi at nebi.<domain>, the hub at hub.<domain>."
nebi:
namespace: string | default="nebi"
releaseName: string | default="nebi-pack" description="Drives the operator-provisioned OIDC client id (nebi-<releaseName>-nebari-nebi-pack) and the in-cluster service name DSP derives. The DSP defaults assume nebi-pack, so change both sides together."
version: string | default="0.1.3"
values: object | description="Extra Helm values passed through to the chart. The wiring keys the composition owns (nebariapp.hostname) win over anything set here."
daskGateway:
namespace: string | default="dask-gateway"
releaseName: string | default="dask-gateway-pack"
version: string | default="3f35ed41115f25da8d029b2d9a55a66b4c7f2e12" description="Git revision of nebari-dev/dask-gateway-pack (the pack is unreleased; switches to a chart version once it publishes)."
values: object | description="Extra Helm values passed through to the pack chart. Wiring keys the composition owns (nebariapp.hostname, gateway.auth.*) win over anything set here."
dataScience:
namespace: string | default="data-science"
releaseName: string | default="data-science-pack" description="Load-bearing. The chart hardcodes the OIDC client Secret name as <release>-nebari-data-science-pack, so a different release name silently falls back to dummy auth unless the values override both hub mounts."
version: string | default="0.1.5"
values: object | description="Extra Helm values passed through to the chart. The wiring keys the composition owns (keycloak.hostname, nebi.namespace, nebi.releaseName) win over anything set here."
19 changes: 19 additions & 0 deletions examples/crossplane/datascience-spin/crossplane-project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: dev.crossplane.io/v1alpha1
kind: Project
metadata:
name: datascience-spin
spec:
dependencies:
- type: xpkg
xpkg:
apiVersion: pkg.crossplane.io/v1
kind: Function
package: xpkg.crossplane.io/crossplane-contrib/function-auto-ready
version: '>=v0.0.0'
- type: xpkg
xpkg:
apiVersion: pkg.crossplane.io/v1
kind: Function
package: xpkg.crossplane.io/crossplane-contrib/function-sequencer
version: '>=v0.0.0'
repository: quay.io/nebari/datascience-spin-poc
Empty file.
14 changes: 14 additions & 0 deletions examples/crossplane/datascience-spin/examples/ds/example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: platform.nebari.dev/v1alpha1
kind: DataScienceSpin
metadata:
name: ds
spec:
domain: nebari.local
nebi:
namespace: nebi
releaseName: nebi-pack
version: 0.1.3
dataScience:
namespace: data-science
releaseName: data-science-pack
version: 0.1.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ds-nebi
namespace: argocd
annotations:
crossplane.io/composition-resource-name: nebi-app
status:
health:
status: Healthy
sync:
status: Synced
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: hub
namespace: data-science
data:
hub.services.dask-gateway.apiToken: dGVzdC1nZW5lcmF0ZWQtdG9rZW4tMTIz
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Get the observed composite resource into a variable. This can be used in any
# subsequent templates.
{{ $xr := getCompositeResource . }}
Loading
Loading