Skip to content

Commit

Permalink
fix: Gardener kubeconfig merging flags (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 authored and Tibor Kiss committed Sep 3, 2024
1 parent fce4cca commit e19dca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gardener/aws/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ EOF

# merge with the existing kubeconfig settings
mkdir -p ~/.kube
KUBECONFIG="~/.kube/config:${CLUSTER_NAME}_kubeconfig.yaml" kubectl config view --merge > merged_kubeconfig.yaml
KUBECONFIG="~/.kube/config:${CLUSTER_NAME}_kubeconfig.yaml" kubectl config view --flatten --merge > merged_kubeconfig.yaml
mv merged_kubeconfig.yaml ~/.kube/config
}

Expand Down

0 comments on commit e19dca6

Please sign in to comment.