diff --git a/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-oidc-egress.yaml b/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-oidc-egress.yaml index 0de56fedd..e4bc165e0 100644 --- a/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-oidc-egress.yaml +++ b/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-oidc-egress.yaml @@ -10,6 +10,6 @@ spec: egress: - to: - ipBlock: - cidr: # Replace with actual CIDR range + cidr: ${OIDC-CIDF} policyTypes: - Egress \ No newline at end of file diff --git a/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-operator-k8s-cncf-egress.yaml b/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-operator-k8s-cncf-egress.yaml index 30846962c..889d2a0c1 100644 --- a/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-operator-k8s-cncf-egress.yaml +++ b/cp3-networkpolicy/egress/license-service-reporter-manually/ibm-license-service-reporter-operator-k8s-cncf-egress.yaml @@ -13,11 +13,11 @@ spec: matchLabels: name: ibm-license-service-reporter-operator egress: - - ports: - - protocol: TCP - port: <$TargetPort> # TargetPort from the DEFAULT KUBERNETES SERVICE + - ports:S + - protocol: TCP + port: ${K8-API-SERVER-PORT} # TargetPort from the DEFAULT KUBERNETES SERVICE to: - ipBlock: - cidr: /32 # IPs from the DEFAULT KUBERNETES SERVICE + cidr: ${K8-API-SERVER-CIRD} # IP from the DEFAULT KUBERNETES SERVICE policyTypes: - Egress \ No newline at end of file