# setup-kubectl **Repository Path**: github-actions/setup-kubectl ## Basic Information - **Project Name**: setup-kubectl - **Description**: github actions: kubectl - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: pascall - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-09 - **Last Updated**: 2023-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Setup Kubectl #### Sample workflow to install a specific version of kubectl binary on the runner. Acceptable values are latest or any semantic version string like `v1.15.0`. Use this action in workflow to define which version of kubectl will be used. ```yaml - name: Set up Kubectl v1.22.17 uses: https://gitea.nf.s0l.cn/actions/setup-kubectl@v3.2.3 with: version: 'v1.22.17' kubeConfigData: "${{ secrets.KUBE_CONFIG_CICD }}" ```