-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fetching dynamic kubeconfig #47
Fetching dynamic kubeconfig #47
Conversation
Skipping CI for Draft Pull Request. |
@@ -19,6 +19,8 @@ spec: | |||
- /manager | |||
args: | |||
- --gardener-kubeconfig-path=/gardener/credentials/kubeconfig | |||
- --gardener-project-name=kyma-dev |
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.
Should we already capture somewhere (maybe in some issue or documentation) that this should be overridden for other environments?
I was unable to test that successfully. apiVersion: infrastructuremanager.kyma-project.io/v1
kind: GardenerCluster
metadata:
labels:
kyma-project.io/instance-id: instance-id
kyma-project.io/runtime-id: md-im3
kyma-project.io/broker-plan-id: plan-id
kyma-project.io/broker-plan-name: plan-name
kyma-project.io/global-account-id: global-account-id
kyma-project.io/subaccount-id: subAccount-id
kyma-project.io/shoot-name: md-im3
kyma-project.io/region: region
operator.kyma-project.io/kyma-name: kymaName
name: md-im3
namespace: kcp-system
spec:
shoot:
name: md-im3
kubeconfig:
secret:
name: kubeconfig-md-im3
namespace: kcp-system
key: "config" I'm getting
Tested on
By
|
I've had a screen sharing session with @akgalwas where I've seen that this feature works. I still don't know what is causing the issue I've mentioned in the previous comment, possibly some inconsistencies with the manifest generated via |
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.
I'm giving an approval (see the previous comment) however I've didn't managed to have a closer look too see if there would be a good way to cover this with automated tests. @akgalwas Could you maybe consult other frog if there would be some nice way to introduce some automated test, or to make sure that we have a follow-up for that?
I've set the PR to [WiP] so it won't be merged automatically before you look at this comment but I'm also leaving an approval.
Description
Changes proposed in this pull request:
Related issue(s)