Fix MariaDB operator deployment namespace issue

- Remove namespace from kustomization.yaml (was putting Apps in wrong namespace)
  - Change destination to argocd namespace (Application resources must be there)
  - Add labels for tracking parent app
This commit is contained in:
Ruben Hensen
2026-02-22 15:49:54 +01:00
parent a8570f9aa4
commit 25f4dbf000
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ spec:
path: mariadb-operator
destination:
server: https://kubernetes.default.svc
namespace: mariadb-system
namespace: argocd
syncPolicy:
syncOptions:
- CreateNamespace=true
-1
View File
@@ -1,6 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: mariadb-system
resources:
- operator-crds-helm.yaml
- operator-helm.yaml
+2
View File
@@ -3,6 +3,8 @@ kind: Application
metadata:
name: mariadb-operator-crds
namespace: argocd
labels:
app.kubernetes.io/instance: mariadb-operator-install
spec:
destination:
namespace: mariadb-system
+2
View File
@@ -3,6 +3,8 @@ kind: Application
metadata:
name: mariadb-operator
namespace: argocd
labels:
app.kubernetes.io/instance: mariadb-operator-install
spec:
destination:
namespace: mariadb-system