-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(onboarding): Add onboarding values to the helm chart #510
Conversation
@tfadeyi I had a couple of q's for context:
|
We are adding these fields in order to allow users to configure the necessary fields in order to connect/onboard a cluster to VCP without going through UI or CLI. https://venafi.atlassian.net/browse/VC-22924 Adding those fields will make the backend create a new cluster connection element in VCP.
That's true the could be, just thought it would make it more clear that these fields would be used to onboard a cluster to VCP.
Yeah these fields are optional Hopefully this https://venafi.atlassian.net/browse/VC-22924 will give more context on the problem |
@hawksight All good points. Let me know if you want to understand more about the proposed change. @tfadeyi I agree with Peter that the new options have to be under |
d665b31
to
7a3b6e1
Compare
Adds cluster onboarding values to the agent helm chart. Signed-off-by: Oluwole Fadeyi <[email protected]>
7a3b6e1
to
615ae2b
Compare
@tfadeyi thanks for the explanation. What would happen if somewhere were to change the I was thinking that if they are a "set once and never change" type field, then it makes sense to consolidate them under their own heading helm show values oci://$VENAFI_REGISTRY_PRIVATE_US/charts/venafi-kubernetes-agent | yq . config:
server: "https://api.venafi.cloud/"
clientId: "XXXXXXXXXXXXXXX"
clusterName: "black-pearl"
clusterDescription: "The fastest cluster on the seven seas" It also feels a little more natural and consistent with the jetstack-agent config. Also thinking about the user install experience, it just makes the command a tiny bit shorter: # This
helm diff upgrade --install venafi-kubernetes-agent oci://$VENAFI_REGISTRY_PRIVATE_US/charts/venafi-kubernetes-agent --namespace $VENAFI_NAMESPACE --create-namespace --set config.clientId="$VENAFI_CLIENT_ID" --set config.clusterName="abcdefg" --set config.clusterDescription="Alphabet" --version "0.1.43" --registry-config "${VENAFI_CREDS_LOCAL_PATH}/${VENAFI_CRED_NAME}/config.json"
# As opposed to this:
helm diff upgrade --install venafi-kubernetes-agent oci://$VENAFI_REGISTRY_PRIVATE_US/charts/venafi-kubernetes-agent --namespace $VENAFI_NAMESPACE --create-namespace --set config.clientId="$VENAFI_CLIENT_ID" --set config.onboarding.clusterName="abcdefg" --set config.onboarding.clusterDescription="Alphabet" --version "0.1.43" --registry-config "${VENAFI_CREDS_LOCAL_PATH}/${VENAFI_CRED_NAME}/config.json" Other notePerhaps we should remove the chart bump from here and here and do that explicitly as it's own commit before creating a tag / release on this repo? |
@hawksight: The cluster name and description will be preserved in VCP even if the agent reports new values. This ensures consistency and avoids unintended updates. |
I've already made a new release, didn't see the message in time. I'll make a new release |
Adds cluster onboarding values to the agent helm chart.
Change:
Note: Wait until v0.1.44 agent is released before merging