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

Update to check if saml is enabled, not just if the object exists. #3005

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

thomasvn
Copy link
Member

What does this PR change?

Update to check if saml is enabled, not just if the object exists.

Does this PR rely on any other PRs?

No

How does this PR impact users? (This is the kind of thing that goes in release notes!)

For non-SAML users, an unnecessary secret will not be created

Links to Issues or tickets this PR addresses or fixes

None

What risks are associated with merging this PR? What is required to fully test this PR?

I observed that the kubecost-saml secret was being created even in the default nightly install:

helm upgrade -i thomasn-nightly  cost-analyzer --repo https://kubecost.github.io/nightly-helm-chart

I have not yet tested an install on a SAML setup, or a standard Kubecost Enterprise which may have a hidden dependency on this secret. @saweber Do you have any insight here?

How was this PR tested?

TODO?

Have you made an update to documentation? If so, please provide the corresponding PR.

Not needed

@thomasvn thomasvn requested a review from saweber January 29, 2024 17:06
@thomasvn thomasvn merged commit 1d2b987 into develop Jan 29, 2024
12 checks passed
@thomasvn thomasvn deleted the thomasn/saml-secret branch January 29, 2024 17:27
@thomasvn
Copy link
Member Author

/cherry-pick v2.0

thomasvn added a commit that referenced this pull request Jan 29, 2024
…3005) (#3007)

Co-authored-by: Thomas Nguyen <thomasn@kubecost.com>
ameijer pushed a commit that referenced this pull request Jan 31, 2024
…host-1141-yaml-actions

* commit '9abf05499eab352d9a10590c282e8e9491939804':
  updated release note (#3027)
  Bumped image tag with tighter prediction interval (#3023)
  Bumped image tag with retry changes (#3021)
  Bump thanosio/thanos from v0.32.5 to v0.34.0 in /cost-analyzer (#3015)
  Bump grafana/grafana from 10.2.3 to 10.3.1 in /cost-analyzer (#3013)
  Bump prometheus/alertmanager from v0.25.0 to v0.26.0 in /cost-analyzer (#2914)
  Bump prometheus-operator/prometheus-config-reloader in /cost-analyzer (#3014)
  Fix 2.0 precondition for nightly environment (#3016)
  Enable forecasting by default, fix "early spike" forecast behavior (#3010)
  [GTM-199] take global annotations setting into etlutils (#3006)
  Update to check if saml is enabled, not just if the object exists. (#3005)
  block thanos agent upgrades and suggest fedetl (#2998)
  Move 2.0 precondition checks into a function (#2986)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants