Skip to content

Commit 82faa13

Browse files
committed
Make WLO controller use API server NetworkPolicy
1 parent 711a76d commit 82faa13

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

bundle/manifests/ibm-websphere-liberty.clusterserviceversion.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ metadata:
6262
capabilities: Auto Pilot
6363
categories: Application Runtime
6464
containerImage: icr.io/cpopen/websphere-liberty-operator:daily
65-
createdAt: "2024-02-22T16:01:09Z"
65+
createdAt: "2024-02-23T15:30:19Z"
6666
description: Deploy and manage containerized Liberty applications
6767
olm.skipRange: '>=1.0.0 <1.3.1'
6868
operators.openshift.io/infrastructure-features: '["disconnected"]'
@@ -870,6 +870,7 @@ spec:
870870
app.kubernetes.io/managed-by: olm
871871
app.kubernetes.io/name: websphere-liberty-operator
872872
control-plane: controller-manager
873+
webspherelibertyapps.liberty.websphere.ibm.com/allow-apiserver-access: "true"
873874
spec:
874875
affinity:
875876
nodeAffinity:

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
metadata:
2222
labels:
2323
control-plane: controller-manager
24+
webspherelibertyapps.liberty.websphere.ibm.com/allow-apiserver-access: "true"
2425
annotations:
2526
productID: "cb1747ecb831410f88006195f024183f"
2627
productName: "WebSphere Liberty Operator"

internal/deploy/kubectl/websphereliberty-app-operator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ spec:
308308
app.kubernetes.io/instance: websphere-liberty-operator
309309
app.kubernetes.io/name: websphere-liberty-operator
310310
control-plane: controller-manager
311+
webspherelibertyapps.liberty.websphere.ibm.com/allow-apiserver-access: "true"
311312
spec:
312313
affinity:
313314
nodeAffinity:

internal/deploy/kustomize/daily/base/websphere-liberty-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
app.kubernetes.io/instance: websphere-liberty-operator
2727
app.kubernetes.io/name: websphere-liberty-operator
2828
control-plane: websphere-liberty-controller-manager
29+
webspherelibertyapps.liberty.websphere.ibm.com/allow-apiserver-access: "true"
2930
spec:
3031
affinity:
3132
nodeAffinity:

0 commit comments

Comments
 (0)