-
Notifications
You must be signed in to change notification settings - Fork 107
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
Get sysdicloud-values secret #238
base: master
Are you sure you want to change the base?
Conversation
Now if the backend version is higher than 6.5, it should get the sysdigcloud-values secret which include different settings such as JVM etc...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @BuenClima! Looks good but the namespace should not be hardcoded because while the default the installer uses is sysdigcloud the customer can use any name. It gets set in the script here
KUBE_OPTS="--namespace ${NAMESPACE} ${CONTEXT_OPTS}" |
Also, minor but can we name the values file where this data will be stored imported_values.yaml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the spacing inside the brackets will cause issues with some shells. Please update to show the spacing in all of them, like [[ $major -eq 6 ]]
Co-authored-by: Mark Breitung <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the variable $version is not defined. There is an issue with BACKEND_VERSION being fixed here #237
But even then, seems that variable is not global but rather we run it every time we need to check the version. Let me discuss with @dark-vex tomorrow if maybe we can refactor that part a bit so it's cleaner.
Now if the backend version is higher than 6.5, it should get the sysdigcloud-values secret which include different settings such as JVM, etc...