Allow namespaced CNPG resources for Ombi

This commit is contained in:
feedc0de committed 2026-10-25 12:34:41 +01:00
1 parent dad7b675c4
commit d5f6c1b935
2 files changed
+2 -18

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: postgresql
namespace: ombi
spec:
ports:
- name: postgresql
port: 5432
protocol: TCP
targetPort: 5432
selector:
cnpg.io/cluster: ombi-cnpg
cnpg.io/instanceRole: primary
type: ClusterIP
+2 -3
View File
@@ -15,9 +15,6 @@ spec:
destinations:
- namespace: ombi
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: postgresql.cnpg.io
kind: Cluster
namespaceResourceWhitelist:
- group: ""
kind: ConfigMap
@@ -31,5 +28,7 @@ spec:
kind: Deployment
- group: apps
kind: StatefulSet
- group: postgresql.cnpg.io
kind: Cluster
- group: networking.k8s.io
kind: Ingress