mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-06-22 23:09:31 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29ce4db2b2 | |||
| 97f8491e39 | |||
| 07ab8a6056 | |||
| 1c8fffe8b3 | |||
| 2be70f5a52 | |||
| 1f527c033f |
@@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v3.29.5
|
||||
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
@@ -86,6 +86,6 @@ jobs:
|
||||
echo ' make release'
|
||||
exit 1
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v3.29.5
|
||||
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
|
||||
with:
|
||||
category: '/language:${{matrix.language}}'
|
||||
|
||||
@@ -1,5 +1,44 @@
|
||||
# Change Log
|
||||
|
||||
## [5.0.0] - 2026-04-07
|
||||
|
||||
### Features
|
||||
|
||||
- #227 Migrate to ESM with esbuild, vitest
|
||||
|
||||
### Runtime and platform
|
||||
|
||||
- #222 Update Node version from 20 to 24
|
||||
|
||||
### Dependabot updates
|
||||
|
||||
- #231 Bump github/codeql-action in /.github/workflows in the actions group
|
||||
- #230 Bump typescript in the actions group across 1 directory
|
||||
- #228 Bump picomatch
|
||||
- #226 Bump github/codeql-action in /.github/workflows in the actions group
|
||||
- #223 Bump undici from 6.23.0 to 6.24.0
|
||||
- #221 Bump the actions group in /.github/workflows with 2 updates
|
||||
- #218 Bump the actions group in /.github/workflows with 2 updates
|
||||
- #219 Bump minimatch
|
||||
- #217 Bump undici and @actions/http-client
|
||||
- #216 Bump github/codeql-action in /.github/workflows in the actions group
|
||||
- #214 Bump the actions group in /.github/workflows with 2 updates
|
||||
- #212 Bump the actions group in /.github/workflows with 2 updates
|
||||
- #211 Bump the actions group with 3 updates
|
||||
- #210 Bump the actions group with 2 updates
|
||||
- #208 Bump @types/node from 25.0.2 to 25.0.3 in the actions group
|
||||
- #209 Bump github/codeql-action in /.github/workflows in the actions group
|
||||
- #206 Bump the actions group with 3 updates
|
||||
- #207 Bump github/codeql-action in /.github/workflows in the actions group
|
||||
- #205 Bump the actions group in /.github/workflows with 4 updates
|
||||
- #204 Bump the actions group with 2 updates
|
||||
- #202 Bump the actions group in /.github/workflows with 2 updates
|
||||
- #203 Bump prettier from 3.6.2 to 3.7.3 in the actions group
|
||||
- #201 Bump glob from 10.4.5 to 10.5.0
|
||||
- #200 Bump js-yaml from 3.14.1 to 3.14.2
|
||||
- #198 Bump js-yaml from 4.1.0 to 4.1.1
|
||||
- #199 Bump the actions group with 2 updates
|
||||
|
||||
## [4.0.2] - 2025-11-13
|
||||
|
||||
- #[164](https://github.com/Azure/k8s-set-context/pull/164) Adding optional kubeconfig encoding variable
|
||||
|
||||
@@ -19,7 +19,7 @@ Refer to the [action metadata file](./action.yml) for details about inputs. Note
|
||||
### Kubeconfig approach
|
||||
|
||||
```yaml
|
||||
- uses: azure/k8s-set-context@v4
|
||||
- uses: azure/k8s-set-context@v5
|
||||
with:
|
||||
method: kubeconfig
|
||||
kubeconfig: <your kubeconfig>
|
||||
@@ -50,7 +50,7 @@ Please refer to documentation on fetching [kubeconfig for any generic K8s cluste
|
||||
### Service account approach
|
||||
|
||||
```yaml
|
||||
- uses: azure/k8s-set-context@v4
|
||||
- uses: azure/k8s-set-context@v5
|
||||
with:
|
||||
method: service-account
|
||||
k8s-url: <URL of the cluster's API server>
|
||||
@@ -74,7 +74,7 @@ kubectl get secret <service-account-secret-name> -n <namespace> -o yaml
|
||||
### Service account approach for arc cluster
|
||||
|
||||
```yaml
|
||||
- uses: azure/k8s-set-context@v4
|
||||
- uses: azure/k8s-set-context@v5
|
||||
with:
|
||||
method: service-account
|
||||
cluster-type: arc
|
||||
@@ -86,7 +86,7 @@ kubectl get secret <service-account-secret-name> -n <namespace> -o yaml
|
||||
### Service principal approach for arc cluster
|
||||
|
||||
```yaml
|
||||
- uses: azure/k8s-set-context@v4
|
||||
- uses: azure/k8s-set-context@v5
|
||||
with:
|
||||
method: service-principal
|
||||
cluster-type: arc
|
||||
|
||||
Generated
+6
-6
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "k8s-set-context-action",
|
||||
"version": "4.0.2",
|
||||
"version": "5.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "k8s-set-context-action",
|
||||
"version": "4.0.2",
|
||||
"version": "5.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "^3.0.0",
|
||||
@@ -21,7 +21,7 @@
|
||||
"@types/node": "^25.0.9",
|
||||
"esbuild": "^0.27.4",
|
||||
"prettier": "^3.8.0",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript": "^6.0.2",
|
||||
"vitest": "^4.1.1"
|
||||
}
|
||||
},
|
||||
@@ -2398,9 +2398,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz",
|
||||
"integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "k8s-set-context-action",
|
||||
"version": "4.0.2",
|
||||
"version": "5.0.0",
|
||||
"private": true,
|
||||
"main": "lib/index.js",
|
||||
"type": "module",
|
||||
@@ -33,7 +33,7 @@
|
||||
"@types/node": "^25.0.9",
|
||||
"esbuild": "^0.27.4",
|
||||
"prettier": "^3.8.0",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript": "^6.0.2",
|
||||
"vitest": "^4.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user