-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from keisku/issue26
Fix: Cannot explain if a filed contains uppercase letters
- Loading branch information
Showing
3 changed files
with
59 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
name: test | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
microk8s: [1.29/stable, 1.30/stable] | ||
os: [ubuntu-latest] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install microk8s | ||
run: | | ||
sudo snap install microk8s --classic --channel=${{ matrix.microk8s }} | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
- name: go vet | ||
run: go vet ./... | ||
- name: go test | ||
run: go test -v ./... | ||
- name: Build kubectl-explore | ||
run: | | ||
go build | ||
chmod +x kubectl-explore | ||
sudo install kubectl-explore /usr/local/bin | ||
- name: Run kubectl-explore | ||
run: | | ||
sudo microk8s kubectl explore hpa.*own.*id > /dev/null | ||
sudo microk8s kubectl explore provider > /dev/null | ||
sudo microk8s kubectl explore statefulset.spec.template.spec.volumes.projected.sources.serviceAccountToken.expirationSeconds > /dev/null | ||
sudo microk8s kubectl explore sts.spec.template.spec.volumes.projected.sources.serviceAccountToken.expirationSeconds > /dev/null | ||
sudo microk8s kubectl explore sts.spec.template.spec.volumes.projected.sources.serviceAccountToken.expir > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters