Skip to content

Commit

Permalink
Merge pull request #10337 from CrystalMethod/feat/Azure/kubelogin
Browse files Browse the repository at this point in the history
feat: add Azure/kubelogin
  • Loading branch information
suzuki-shunsuke committed Mar 2, 2023
2 parents 5ab595a + 1081c2b commit adaff0d
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/Azure/kubelogin/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
packages:
- name: Azure/kubelogin@v0.0.27
- name: Azure/kubelogin
version: v0.0.11
- name: Azure/kubelogin
version: v0.0.10
- name: Azure/kubelogin
version: v0.0.5
- name: Azure/kubelogin
version: v0.0.1
53 changes: 53 additions & 0 deletions pkgs/Azure/kubelogin/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
packages:
- type: github_release
repo_owner: Azure
repo_name: kubelogin
description: A Kubernetes credential (exec) plugin implementing azure authentication
asset: kubelogin-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
replacements:
windows: win
files:
- name: kubelogin
src: bin/{{.OS}}_{{.Arch}}/kubelogin
overrides:
- goos: windows
files:
- name: kubelogin
src: bin/windows_{{.Arch}}/kubelogin.exe
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.0.27")
version_overrides:
- version_constraint: semver(">= 0.0.11")
supported_envs:
- darwin
- linux
- amd64
- version_constraint: semver(">= 0.0.10")
supported_envs:
- darwin
- amd64
checksum:
enabled: false
- version_constraint: semver(">= 0.0.5")
supported_envs:
- darwin
- amd64
rosetta2: true
checksum:
enabled: false
- version_constraint: semver("< 0.0.5")
asset: kubelogin.zip
supported_envs:
- darwin
- amd64
rosetta2: true
checksum:
enabled: false
52 changes: 52 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit adaff0d

Please sign in to comment.