diff --git a/.dagger/README.md b/.dagger/README.md
index dc60f40..a43ff3b 100644
--- a/.dagger/README.md
+++ b/.dagger/README.md
@@ -1,4 +1,20 @@
+# DAGGER-CI
+DEPLOY FUNCTIONS
+```bash
+dagger call -m ./.dagger deploy-functions \
+--kube-config file:///home/sthings/.kube/xplane \
+--progress plain
+```
-dagger call -m ./.dagger deploy-cilium-crds --kube-config file:///home/sthings/.kube/xplane --progress plain
+
+
+DEPLOY CONFIGURATIONS
+
+```bash
+dagger call -m ./.dagger deploy-configurations \ --kube-config file:///home/sthings/.kube/xplane \
+--progress plain
+```
+
+
diff --git a/.dagger/cilium.go b/.dagger/cilium.go
index 76bce79..b626fd0 100644
--- a/.dagger/cilium.go
+++ b/.dagger/cilium.go
@@ -11,6 +11,9 @@ func (m *Dagger) DeployCilium(
// +default=true
deployCRDs bool,
// +optional
+ // +default="https://github.com/stuttgart-things/helm/infra/crds/cilium"
+ crdSource string,
+ // +optional
// +default="git::https://github.com/stuttgart-things/helm.git@infra/cilium.yaml.gotmpl"
helmfileRef string,
// +optional
@@ -22,7 +25,7 @@ func (m *Dagger) DeployCilium(
) error {
// Deploy CRDs first if requested
if deployCRDs {
- _, err := m.DeployCiliumCRDS(ctx, "", kubeConfig)
+ _, err := m.DeployCiliumCRDS(ctx, crdSource, kubeConfig)
if err != nil {
return err
}
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 09f435b..0c4393c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -46,3 +46,5 @@ repos:
args:
- "--exclude-files"
- "configurations/apps/ansible-run/README.md"
+ - "--exclude-files"
+ - "dagger.json"
diff --git a/Taskfile.yaml b/Taskfile.yaml
index 031b6db..9970fbd 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -20,6 +20,13 @@ includes:
taskfile: https://raw.githubusercontent.com/stuttgart-things/tasks/refs/heads/main/configuration/k2n.yaml
tasks:
+ apply-configuration-packages:
+ desc: Apply crossplane configuration packages
+ cmds:
+ - |
+ set -e
+
+
push-configuration-package:
desc: Push crossplane configuration package
cmds: