We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8e7b18 commit 52cbf06Copy full SHA for 52cbf06
.github/workflows/kubernetes-troubleshooting-scenarios.yml
@@ -3,9 +3,6 @@ name: Deploy Kubernetes Troubleshooting Scenarios
3
on:
4
workflow_dispatch:
5
inputs:
6
- kubeconfig:
7
- description: 'Kubeconfig file content'
8
- required: true
9
cluster-name:
10
description: 'Name of the cluster to target'
11
required: true
@@ -34,7 +31,7 @@ jobs:
34
31
- name: Configure Kubernetes cluster
35
32
run: |
36
33
mkdir -p ~/.kube
37
- echo "${{ inputs.kubeconfig }}" > ~/.kube/config
+ echo "${{ secrets.KUBECONFIG }}" > ~/.kube/config
38
kubectl config set-context ${{ inputs.cluster-name }} --cluster=${{ inputs.cluster-name }} --user=${{ inputs.cluster-name }}
39
kubectl config use-context ${{ inputs.cluster-name }}
40
kubectl version --client
0 commit comments