mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-16 18:02:55 +02:00
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:
@@ -13,7 +13,7 @@ spec:
|
||||
path: mariadb-operator
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mariadb-system
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: mariadb-system
|
||||
resources:
|
||||
- operator-crds-helm.yaml
|
||||
- operator-helm.yaml
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user