UNCLASSIFIED - NO CUI

Resolve "Convert bb-common to sub-chart"

General MR

Summary

  • Migrated bb-common to sub-chart

Relevant logs/screenshots

Verified all resources remained unchanged (with one exception):

kubectl get pa -n authservice

NAME                MODE     AGE
default-peer-auth   STRICT   14m

kubectl get netpol -n authservice

NAME                                                                        POD-SELECTOR                         AGE
allow-egress-from-authservice-to-ns-tempo-pod-tempo-tcp-port-9411           app.kubernetes.io/name=authservice   14m
allow-egress-from-authservice-to-sso                                        app.kubernetes.io/name=authservice   14m
allow-ingress-to-authservice-port-10003-from-keycloak-protected             app.kubernetes.io/name=authservice   98s
allow-ingress-to-redis-bb-tcp-port-6379-from-ns-monitoring-pod-grafana      app.kubernetes.io/name=redis-bb      14m
allow-ingress-to-redis-bb-tcp-port-9121-from-ns-monitoring-pod-prometheus   app.kubernetes.io/name=redis-bb      14m
default-egress-allow-all-in-ns                                              <none>                               14m
default-egress-allow-istiod                                                 <none>                               14m
default-egress-allow-kube-dns                                               <none>                               14m
default-egress-deny-all                                                     <none>                               14m
default-ingress-allow-all-in-ns                                             <none>                               14m
default-ingress-allow-prometheus-to-istio-sidecar                           <none>                               14m
default-ingress-deny-all                                                    <none>                               14m

kubectl get ap -n authservice

NAME                                                              ACTION   AGE
allow-ingress-to-authservice-port-10003-from-keycloak-protected   ALLOW    2m10s
allow-ingress-to-redis-bb-tcp-port-6379-from-ns-monitoring        ALLOW    14m
allow-ingress-to-redis-bb-tcp-port-9121-from-ns-monitoring        ALLOW    14m
default-authz-allow-all-in-ns                                     ALLOW    14m
default-authz-allow-nothing                                                14m

kubectl get ap -n istio-system

NAME                                                               ACTION   AGE
authservice                                                        CUSTOM   15m
istiod-allow-ingress-to-istiod-tcp-port-15014-from-ns-kiali        ALLOW    17m
istiod-allow-ingress-to-istiod-tcp-port-15014-from-ns-monitoring   ALLOW    17m
istiod-allow-ingress-to-istiod-tcp-ports-15010-15012-from-ns-any   ALLOW    17m
istiod-allow-ingress-to-istiod-tcp-ports-443-15017-from-anywhere   ALLOW    17m
istiod-default-authz-allow-nothing                                          17m
jwt-authz                                                          ALLOW    15m
shared-kiali-authz-policy                                          ALLOW    15m
shared-monitoring-authz-policy                                     ALLOW    16m

The netpol and associated authpol was being created from a definition at the package level, but was being applied different from the umbrella template. The umbrella portion now overrides the existing package level definition to avoid ending up with duplicate rules. Although the policy gets recreated, it is the same policy.

Linked Issue

issue

Upgrade Notices

Big Bang values that override Authservice's istio, networkPolicies, or routes must move under the bb-common key.

Umbrella Branch

authservice-bb-common-conversion

Merge request reports

Loading
Loading