Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Look for SSH config correctly in multi cluster environments #86

Closed
wants to merge 2 commits into from

Conversation

dippynark
Copy link
Contributor

What this PR does / why we need it: In multi-cluster environments, tarmak k8s clusters should look for vault cluster ssh credentials in the hub's folder rather than look in the cluster's folder

Special notes for your reviewer:

Release note:

@jetstack-bot
Copy link
Collaborator

@dippynark: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jetstack-bot jetstack-bot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 25, 2018
@jetstack-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
We suggest the following additional approver: simonswine

Assign the PR to them by writing /assign @simonswine in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

func (c *Cluster) HubName() string {
return fmt.Sprintf("%s-%s", c.environment.Name(), clusterv1alpha1.ClusterTypeHub)
}

Copy link
Contributor

Choose a reason for hiding this comment

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

This should ideally live in pkg/environment and then called through the environment interface

@simonswine
Copy link
Contributor

@dippynark I still need to merge this or is this already included in #100?

@dippynark
Copy link
Contributor Author

dippynark commented Feb 12, 2018

@simonswine I have merged these changes into #100 so this no longer needs merging. This PR can be closed

@simonswine
Copy link
Contributor

@dippynark thanks for the clarification

@simonswine simonswine closed this Feb 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants