Allow namespaced CNPG resources for Ombi
This commit is contained in:
1 parent
dad7b675c4
commit
d5f6c1b935
2 files changed
+2
-18
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user