mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Change the name of the secret that delivers federation kubeconfig.
The current name, federation-apiserver-secret, is very similar to the other secret we have, federation-apiserver-secrets, that delivers somewhat similar data but in a different format. This is extremely confusing, particularly while debugging. This change should soothe the pain.
This commit is contained in:
@@ -156,7 +156,7 @@ function create-federation-api-objects {
|
||||
create-kubeconfig
|
||||
|
||||
# Create secret with federation-apiserver's kubeconfig
|
||||
$host_kubectl create secret generic federation-apiserver-secret --from-file="${KUBECONFIG_DIR}/federation/federation-apiserver/kubeconfig" --namespace="${FEDERATION_NAMESPACE}"
|
||||
$host_kubectl create secret generic federation-apiserver-kubeconfig --from-file="${KUBECONFIG_DIR}/federation/federation-apiserver/kubeconfig" --namespace="${FEDERATION_NAMESPACE}"
|
||||
|
||||
# Create secrets with all the kubernetes-apiserver's kubeconfigs.
|
||||
# Note: This is used only by the test setup (where kubernetes clusters are
|
||||
|
Reference in New Issue
Block a user