Skip to content

Commit

Permalink
[v1.36] only hide system namespaces that start with "kube-" (#450)
Browse files Browse the repository at this point in the history
* only hide system namespaces that start with "kube-" (#351)

fixes: kiali/kiali#4162
(cherry picked from commit 6ab5c30)

* fix 1.36 playbook to only hide kube- namespaces (not kube*)
part of kiali/kiali#4162
  • Loading branch information
jmazzitelli authored Nov 16, 2021
1 parent 4169761 commit 6776c3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions deploy/kiali/kiali_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
# namespaces:
# exclude:
# - "istio-operator"
# - "kube.*"
# - "kube-.*"
# - "openshift.*"
# - "ibm.*"
# - "kiali-operator"
Expand Down Expand Up @@ -189,7 +189,7 @@ spec:
# Kiali to be given access to all namespaces via a single cluster role (if using this special value of "**",
# you are required to have already granted the operator permissions to create cluster roles and cluster role bindings).
# ---
# accessible_namespaces: ["^((?!(istio-operator|kube.*|openshift.*|ibm.*|kiali-operator)).)*$"]
# accessible_namespaces: ["^((?!(istio-operator|kube-.*|openshift.*|ibm.*|kiali-operator)).)*$"]
#
# Additional custom yaml to add to the service definition. This is used mainly to customize the service type.
# For example, if the deployment.service_type is set to "LoadBalancer" and you want to set the loadBalancerIP,
Expand Down
4 changes: 2 additions & 2 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kiali_defaults:
namespaces:
exclude:
- "istio-operator"
- "kube.*"
- "kube-.*"
- "openshift.*"
- "ibm.*"
- "kiali-operator"
Expand Down Expand Up @@ -50,7 +50,7 @@ kiali_defaults:
custom_dashboards: []

deployment:
accessible_namespaces: ["^((?!(istio-operator|kube.*|openshift.*|ibm.*|kiali-operator)).)*$"]
accessible_namespaces: ["^((?!(istio-operator|kube-.*|openshift.*|ibm.*|kiali-operator)).)*$"]
#additional_service_yaml:
affinity:
node: {}
Expand Down
4 changes: 2 additions & 2 deletions roles/v1.36/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kiali_defaults:
namespaces:
exclude:
- "istio-operator"
- "kube.*"
- "kube-.*"
- "openshift.*"
- "ibm.*"
- "kiali-operator"
Expand Down Expand Up @@ -50,7 +50,7 @@ kiali_defaults:
custom_dashboards: []

deployment:
accessible_namespaces: ["^((?!(istio-operator|kube.*|openshift.*|ibm.*|kiali-operator)).)*$"]
accessible_namespaces: ["^((?!(istio-operator|kube-.*|openshift.*|ibm.*|kiali-operator)).)*$"]
#additional_service_yaml:
affinity:
node: {}
Expand Down

0 comments on commit 6776c3b

Please sign in to comment.