Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of secret reader feature #285

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

leandroberetta
Copy link
Contributor

@leandroberetta leandroberetta commented Sep 25, 2024

Given that now Kiali will get the certificate information using a configmap, this is not necesary anymore.

Copy link
Contributor

@jmazzitelli jmazzitelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leandroberetta
Copy link
Contributor Author

I think you also want to delete the following from the server helm chart:

Yes, my bad, missing commit.

Copy link
Contributor

@jmazzitelli jmazzitelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

First, I ran "helm template" on the latest kiali server chart and see the controlplane and certificate stuff:

$ helm template -n istio-system kiali-server kiali/kiali-server | grep -E 'certificate|controlplane'
      certificates_information_indicators:
# Source: kiali-server/templates/role-controlplane.yaml
  name: kiali-controlplane
# Source: kiali-server/templates/rolebinding-controlplane.yaml
  name: kiali-controlplane
  name: kiali-controlplane

Then run the same with the helm charts of this PR built via make build-helm-charts:

$ helm template -n istio-system kiali-server _output/charts/kiali-server-*.tgz | grep -E 'certificate|controlplane'

which returns nothing.

As for the operator, there is now no longer a rule for reading cacert secrets. We see a third rule for secrets in the current release:

$ helm template -n istio-system kiali-operator kiali/kiali-operator | grep '\- secrets'
  - secrets
  - secrets
  - secrets

$ helm template -n istio-system kiali-operator kiali/kiali-operator | grep 'cacerts'
  - cacerts

but those are no longer there in this PR's charts:

$ helm template -n istio-system kiali-operator _output/charts/kiali-operator*.tgz | grep '\- secrets'
  - secrets
  - secrets
$ helm template -n istio-system kiali-operator _output/charts/kiali-operator*.tgz | grep 'cacerts'
(the above command returns empty results)

@leandroberetta leandroberetta merged commit d3b8047 into kiali:master Sep 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants