OSH: Add ingress netpol for ceph-rgw pods
This is to enable ingress netpol for ceph-rgw pods Depends-On: https://review.openstack.org/#/c/632567/ Change-Id: I542a38a08101b031633bfcb0810e00904ae58df5
This commit is contained in:
parent
72b0d3c982
commit
ff146ea9fd
@ -44,6 +44,33 @@ conf:
|
||||
pod:
|
||||
replicas:
|
||||
rgw: 1
|
||||
network_policy:
|
||||
ceph:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: glance
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: cinder
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: libvirt
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: nova
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ceph
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ingress
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8088
|
||||
manifests:
|
||||
network_policy: true
|
||||
EOF
|
||||
helm upgrade --install radosgw-openstack ${OSH_INFRA_PATH}/ceph-rgw \
|
||||
--namespace=openstack \
|
||||
|
@ -27,6 +27,9 @@ network_policy:
|
||||
ingress:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ceph
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: keystone
|
||||
|
@ -38,11 +38,39 @@ bootstrap:
|
||||
conf:
|
||||
rgw_ks:
|
||||
enabled: true
|
||||
network_policy:
|
||||
ceph:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: glance
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: cinder
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: libvirt
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: nova
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ceph
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ingress
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8088
|
||||
manifests:
|
||||
network_policy: true
|
||||
EOF
|
||||
|
||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
||||
helm upgrade --install radosgw-openstack ${OSH_INFRA_PATH}/ceph-rgw \
|
||||
--namespace=openstack \
|
||||
--set manifests.network_policy=true \
|
||||
--values=/tmp/radosgw-openstack.yaml \
|
||||
${OSH_EXTRA_HELM_ARGS} \
|
||||
${OSH_EXTRA_HELM_ARGS_HEAT}
|
||||
|
Loading…
Reference in New Issue
Block a user