forked from kubernetes-sigs/kustomize
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into config-map-consistency
- Loading branch information
Showing
17,503 changed files
with
1,144,153 additions
and
1,881,484 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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,8 @@ | ||
.github | ||
docs | ||
examples | ||
functions | ||
hack | ||
site | ||
travis | ||
*.md |
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,68 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "" | ||
labels: | ||
- kind/bug | ||
assignees: "" | ||
--- | ||
|
||
<!-- | ||
Please read this page: https://kubernetes-sigs.github.io/kustomize/contributing/bugs/ before | ||
filing a bug | ||
--> | ||
|
||
<!-- Feel free to skip the sections if they are not applicable. --> | ||
|
||
**Describe the bug** | ||
|
||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
**Files that can reproduce the issue** | ||
|
||
<!-- | ||
We cannot figure out or fix the issue if we don't know how to reproduce. Please | ||
provide a minimum set of files that can reproduce the issue. You can paste the | ||
file contents here or provide a link to a tarball or git repo. | ||
Example: | ||
kustomization.yaml | ||
``` | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
... | ||
``` | ||
resources.yaml | ||
``` | ||
apiVersion: v1 | ||
kind: Deployment | ||
... | ||
``` | ||
... | ||
--> | ||
|
||
**Expected output** | ||
|
||
<!-- What's the expected output? --> | ||
|
||
**Actual output** | ||
|
||
<!-- What's the actual output? --> | ||
|
||
**Kustomize version** | ||
|
||
<!-- Please use the latest version when it's possible. --> | ||
|
||
**Platform** | ||
|
||
<!-- Linux/macOS/Windows? --> | ||
|
||
**Additional context** | ||
|
||
<!-- Add any other context about the problem here. --> |
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 @@ | ||
blank_issues_enabled: true |
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,26 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "" | ||
labels: | ||
- kind/feature | ||
assignees: "" | ||
--- | ||
|
||
<!-- Feel free to skip the sections if they are not applicable. --> | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
|
||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> | ||
|
||
**Describe the solution you'd like** | ||
|
||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
**Describe alternatives you've considered** | ||
|
||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
**Additional context** | ||
|
||
<!-- Add any other context or screenshots about the feature request here. --> |
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,9 @@ | ||
--- | ||
name: Question | ||
about: Ask a question about the kustomize | ||
title: "[Question]" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
<!-- Please describe your question here --> |
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,113 @@ | ||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
|
||
lint: | ||
name: Lint | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Lint | ||
run: ./hack/kyaml-pre-commit.sh | ||
env: | ||
KUSTOMIZE_DOCKER_E2E: false # don't need to do e2e tests for linting | ||
|
||
test-linux: | ||
name: Test Linux | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Test kyaml | ||
run: go test -cover ./... | ||
working-directory: ./kyaml | ||
|
||
- name: Test api | ||
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" | ||
working-directory: ./api | ||
|
||
- name: Test cmd/config | ||
run: go test -cover ./... | ||
working-directory: ./cmd/config | ||
env: | ||
KUSTOMIZE_DOCKER_E2E: true | ||
|
||
test-macos: | ||
name: Test MacOS | ||
runs-on: [macos-latest] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Test kyaml | ||
run: go test -cover ./... | ||
working-directory: ./kyaml | ||
|
||
- name: Test api | ||
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" | ||
working-directory: ./api | ||
|
||
- name: Test cmd/config | ||
run: go test -cover ./... | ||
working-directory: ./cmd/config | ||
env: | ||
KUSTOMIZE_DOCKER_E2E: false # docker not installed on mac | ||
|
||
test-windows: | ||
name: Test Windows | ||
runs-on: [windows-latest] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Test kyaml | ||
run: go test -cover ./... | ||
working-directory: ./kyaml | ||
|
||
# TODO: uncomment once Windows tests are passing. | ||
# - name: Test api | ||
# run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" | ||
# working-directory: ./api | ||
|
||
- name: Test cmd/config | ||
run: go test -cover ./... | ||
working-directory: ./cmd/config | ||
env: | ||
KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet |
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
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,50 @@ | ||
run: | ||
deadline: 5m | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- bodyclose | ||
- deadcode | ||
- depguard | ||
# - dogsled | ||
- dupl | ||
# - errcheck | ||
# - funlen | ||
# - gochecknoinits | ||
- goconst | ||
# - gocritic | ||
- gocyclo | ||
- gofmt | ||
- goimports | ||
- golint | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- interfacer | ||
- lll | ||
- misspell | ||
- nakedret | ||
# - scopelint | ||
- staticcheck | ||
- structcheck | ||
# stylecheck demands that acronyms not be treated as words | ||
# in camelCase, so JsonOp become JSONOp, etc. Yuck. | ||
# - stylecheck | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
- varcheck | ||
# - whitespace | ||
|
||
linters-settings: | ||
dupl: | ||
threshold: 400 | ||
lll: | ||
line-length: 170 | ||
gocyclo: | ||
min-complexity: 15 | ||
golint: | ||
min-confidence: 0.85 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.