diff --git a/TODO b/TODO index 6418f787..db7d0f93 100644 --- a/TODO +++ b/TODO @@ -18,3 +18,5 @@ replace reconcile.sh trigger reinstall when more nodes added metallb-configuration docs: each chart should be self sufficient +docs: core charts must be accessible via helm template | kubectl apply -f +docs: system charts must be accessible via helm install & flux diff --git a/packages/core/installer/templates/cozystack.yaml b/packages/core/installer/templates/cozystack.yaml index c29dd49a..924e9f8a 100644 --- a/packages/core/installer/templates/cozystack.yaml +++ b/packages/core/installer/templates/cozystack.yaml @@ -41,6 +41,8 @@ spec: selector: matchLabels: app: cozystack + strategy: + type: Recreate template: metadata: labels: @@ -50,14 +52,14 @@ spec: serviceAccountName: cozystack containers: - name: cozystack - image: ghcr.io/kvaps/test:cozystack-installer-3 + image: ghcr.io/kvaps/test:cozystack-installer env: - name: KUBERNETES_SERVICE_HOST value: localhost - name: KUBERNETES_SERVICE_PORT value: "7445" - name: darkhttpd - image: ghcr.io/kvaps/test:cozystack-installer-3 + image: ghcr.io/kvaps/test:cozystack-installer command: - /usr/bin/darkhttpd - /cozystack/packages/repos diff --git a/packages/core/platform/Makefile b/packages/core/platform/Makefile index a0c7bdd0..e38a0947 100644 --- a/packages/core/platform/Makefile +++ b/packages/core/platform/Makefile @@ -8,10 +8,10 @@ apply: helm template -n $(NAMESPACE) $(NAME) . --dry-run=server | kubectl apply -f- namespaces-show: - helm template -n $(NAMESPACE) $(NAME) . --dry-run=server . -s templates/namespaces.yaml + helm template -n $(NAMESPACE) $(NAME) . --dry-run=server -s templates/namespaces.yaml namespaces-apply: - helm template -n $(NAMESPACE) $(NAME) . --dry-run=server . -s templates/namespaces.yaml | kubectl apply -f- + helm template -n $(NAMESPACE) $(NAME) . --dry-run=server -s templates/namespaces.yaml | kubectl apply -f- diff: - helm diff upgrade --allow-unreleased -n $(NAMESPACE) $(NAME) . + helm template -n $(NAMESPACE) $(NAME) . --dry-run=server -s templates/namespaces.yaml | kubectl diff -f- diff --git a/packages/core/platform/templates/helmreleases.yaml b/packages/core/platform/templates/helmreleases.yaml index 38844699..f6668853 100644 --- a/packages/core/platform/templates/helmreleases.yaml +++ b/packages/core/platform/templates/helmreleases.yaml @@ -189,6 +189,8 @@ spec: namespace: cozy-cilium - name: kubeovn namespace: cozy-kubeovn + - name: kubevirt-operator + namespace: cozy-kubevirt --- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease