Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Release 0.30.0 #6

Open
wants to merge 1,047 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1047 commits
Select commit Hold shift + click to select a range
680d801
Merge pull request #5310 from SzekeresB/dev/auth-tls-verify-client
k8s-ci-robot Apr 1, 2020
b33c9a2
Set default resource requests limits
aledbf Apr 1, 2020
f305074
Example names violate DNS naming stadards
MrAmbiG Apr 2, 2020
5390ce4
Fix definition order of modsecurity directives
aledbf Apr 2, 2020
8527f77
Change condition order that produces endless loop
aledbf Apr 2, 2020
f20b9be
Update e2e dev image to v1.18.0
aledbf Apr 4, 2020
2738d8f
Set k8s version kind should use for dev environment
aledbf Apr 4, 2020
42fcc07
Add script to generate yaml files from helm
aledbf Mar 30, 2020
f86b0cd
Add lifecycle hook and option to enable mimalloc
aledbf Apr 6, 2020
f266854
Update deployment manifests
aledbf Apr 6, 2020
83daceb
Merge pull request #5332 from aledbf/chart
k8s-ci-robot Apr 6, 2020
1f3eac2
Remove duplicated annotations definition and refactor hostPort config…
aledbf Apr 6, 2020
307494a
Merge pull request #5333 from aledbf/chart
k8s-ci-robot Apr 7, 2020
2cc8282
Fix deployment strategy
aledbf Apr 7, 2020
eefb32c
fix: remove unnecessary if statement when redirect annotation is defined
artemlive Apr 8, 2020
01351a6
remove unused test and function
artemlive Apr 8, 2020
ae88a7d
remove unused test and function
artemlive Apr 8, 2020
41a63b9
ensure make lua-test runs locally
ElvinEfendi Apr 8, 2020
9f40677
Merge pull request #5341 from ElvinEfendi/fix-lua-test-in-dev
k8s-ci-robot Apr 8, 2020
39c01c6
fix e2e rests related to the removed string
artemlive Apr 8, 2020
55052c0
Merge pull request #5340 from artemlive/fix/remove-unnecessary-if-in-…
k8s-ci-robot Apr 9, 2020
4badcdd
Ensure krew plugin includes license
aledbf Apr 10, 2020
12dddcc
docs: fix use-gzip wrong markdown style
weihanglo Apr 11, 2020
6bcb5b0
Merge pull request #5347 from weihanglo/patch-1
k8s-ci-robot Apr 11, 2020
a97ff92
Update doc for validating Webhook with helm
LucasBoisserie Apr 11, 2020
527a440
Merge pull request #5349 from LucasBoisserie/validation_webhook_doc_helm
k8s-ci-robot Apr 12, 2020
9c6873a
Remove deprecated flags and update docs
aledbf Apr 12, 2020
5f27079
Fix broken symlink to mimalloc
sslavic Apr 13, 2020
47a7048
Merge pull request #5357 from sslavic/patch-1
k8s-ci-robot Apr 13, 2020
c0db19b
Enable configuration of plugins using configmap
aledbf Apr 6, 2020
049b25e
Update TLS configuration
praseodym Apr 13, 2020
25d37b6
Merge pull request #5331 from aledbf/plugins
k8s-ci-robot Apr 13, 2020
ad04fbe
Cleanup parsing of annotations with lists
aledbf Apr 13, 2020
6e9ecc4
Cleanup httpbin image
aledbf Apr 13, 2020
1475648
Merge pull request #5361 from aledbf/clean
k8s-ci-robot Apr 14, 2020
1eeb149
Remove version dependency in mimalloc symlink
aledbf Apr 14, 2020
40ea45a
Update doc
kundan2707 Apr 14, 2020
196d56a
Merge pull request #5365 from kundan2707/fix_doc_broken_link
k8s-ci-robot Apr 14, 2020
b60e25f
ingress-nginx lua plugins documentation
ElvinEfendi Apr 13, 2020
129df38
adjust e2e test
ElvinEfendi Apr 14, 2020
f745e35
Merge pull request #5355 from ElvinEfendi/plugin-docs
k8s-ci-robot Apr 14, 2020
914aad2
Update luajit and nginx to 1.17.10
aledbf Apr 14, 2020
0257068
Fix plugin README.md link
aledbf Apr 14, 2020
e87dded
Update e2e image
aledbf Apr 14, 2020
d1de905
Update Go to 1.14.2
aledbf Apr 13, 2020
977178d
Remove chart old podSecurityPolicy check
aledbf Apr 15, 2020
f025c31
Merge pull request #5375 from aledbf/chart
k8s-ci-robot Apr 15, 2020
42b3a1e
Use official mkdocs image and github action
aledbf Apr 15, 2020
2b2acae
Add e2e tests for helm chart
aledbf Apr 16, 2020
1dab12f
Lua OCSP stapling
ElvinEfendi Feb 19, 2020
6e8c68d
Merge pull request #5133 from ElvinEfendi/lua-ocsp-stapling
k8s-ci-robot Apr 17, 2020
dc1adae
Remove TODO that were done
rvillablanca Apr 17, 2020
d18fa90
Add e2e test for OCSP and new configmap setting
aledbf Apr 17, 2020
3877474
Fix dev-env script to use new hostPort setting
aledbf Apr 17, 2020
e9bd1d8
Add new cfssl image and update e2e tests to use it
aledbf Apr 17, 2020
90d07d7
Fix from-to-www link
aledbf Apr 17, 2020
5b8d4ba
Merge pull request #5388 from rvillablanca/rm-todos
k8s-ci-robot Apr 18, 2020
7da08be
Add port for plain HTTP to HTTPS redirection
aledbf Apr 14, 2020
ab3a789
Update deployment documentation
aledbf Mar 30, 2020
fd23ebc
Cleanup deploy docs and remove old yaml manifests
aledbf Apr 18, 2020
f1fbee7
Update images README.md
aledbf Apr 19, 2020
b569d23
staple only when OCSP response status is "good"
ElvinEfendi Apr 19, 2020
6d6eba6
Merge pull request #5403 from ElvinEfendi/staple-when-good
k8s-ci-robot Apr 19, 2020
5cc0cf1
update the helm v3 install way
AlphaWong Apr 20, 2020
5c5e232
Add manifest for kind documentation
aledbf Apr 20, 2020
837d370
Update go dependencies
aledbf Apr 20, 2020
ecc2046
Removed wrong code
rvillablanca Apr 20, 2020
2a7c19c
Merge pull request #5409 from rvillablanca/fix/wrong-error-handling
k8s-ci-robot Apr 20, 2020
5d67794
Pin mimalloc version and update openssl
aledbf Apr 22, 2020
d4e0657
Update nginx image to fix openssl CVE
aledbf Apr 22, 2020
efbb3f9
Add support for IngressClass and ingress.class annotation
aledbf Apr 20, 2020
afa91cc
Merge pull request #5410 from aledbf/ingressclass
k8s-ci-robot Apr 22, 2020
5559a59
Improve build time of httpbin e2e test image
aledbf Apr 22, 2020
f9ae784
Remove lua-resty-waf docs
aledbf Apr 22, 2020
4e63d64
update notes.txt example with networking.k8s.io
moficodes Apr 23, 2020
77d43d4
Merge pull request #5422 from moficodes/patch-1
k8s-ci-robot Apr 23, 2020
a95d850
Add support for PathTypeExact
aledbf Apr 22, 2020
a51bc3e
Merge pull request #5324 from aledbf/exact
k8s-ci-robot Apr 23, 2020
ccef5fe
Update krew plugin configuration
aledbf Apr 24, 2020
c7c06e0
Release 0.31.0
aledbf Apr 24, 2020
4933170
Use github actions to create releases and krew plugin assets
aledbf Apr 24, 2020
6d30247
Allow releases from a github action
aledbf Apr 26, 2020
e323e43
Avoid removal of index.yaml file
aledbf Apr 26, 2020
9aa0eb7
Merge pull request #5404 from AlphaWong/patch-1
k8s-ci-robot Apr 26, 2020
46ca1a6
Disable PR against krew repository
aledbf Apr 26, 2020
edea7c9
Fix deployment links
aledbf Apr 26, 2020
42c0188
Disable github release action
aledbf Apr 26, 2020
1fb6f37
Update chart instructions
aledbf Apr 27, 2020
bae9043
Change action order
aledbf Apr 27, 2020
dbaefc8
Ensure webhook validation ingress has a PathTypePrefix
aledbf Apr 27, 2020
b688391
Release 0.31.1
aledbf Apr 27, 2020
0f2496f
Ensure alpine packages are up to date
aledbf Apr 27, 2020
c775b43
Case-insensitive TLS host matching
AndiDog Apr 28, 2020
0d2c6db
Merge pull request #5358 from praseodym/update-tls-configuration
k8s-ci-robot Apr 28, 2020
0f82342
fix(Chart): Mismatch between values.yml and README.md
grifx Apr 28, 2020
0c2689b
Merge pull request #5460 from grifx/patch-1
k8s-ci-robot Apr 28, 2020
f63b760
Fix helper for defaultbackend name
nicklasfrahm Apr 28, 2020
4a30e94
Merge pull request #5461 from nicklasfrahm/master
k8s-ci-robot Apr 28, 2020
7fbf497
Merge pull request #5319 from MrAmbiG/patch-1
k8s-ci-robot Apr 28, 2020
eaf63d9
Merge pull request #5456 from AndiDog/tls-case-insensitive-host-matching
k8s-ci-robot Apr 28, 2020
c8eb914
Remove noisy dns log
aledbf Apr 28, 2020
af910a1
Refactor ingress validation in webhook
aledbf Apr 28, 2020
5d011db
Add support for multi-arch images
aledbf Apr 28, 2020
8904d95
Update helm v2 installation instructions
Apr 29, 2020
78200f8
Merge pull request #5465 from yeoji/docs/update-helm-2-install
k8s-ci-robot Apr 29, 2020
f94aedb
Update admission webhook annotations
aledbf Apr 29, 2020
a8c7ec6
Changes on services must trigger a sync event
aledbf Apr 29, 2020
f7e632f
Merge pull request #5469 from aledbf/svc
k8s-ci-robot Apr 29, 2020
da12e01
Update job image
Starbix Apr 29, 2020
f860bd7
Merge pull request #5472 from Starbix/master
k8s-ci-robot Apr 29, 2020
e1e8621
Add install command for Digial Ocean
aledbf Apr 29, 2020
768a91f
Fix chart missing default backend name
aledbf Apr 30, 2020
d6ee467
Remove obsolete default backend settings
aledbf Apr 30, 2020
093f354
fix typo in changelog
RothAndrew Apr 30, 2020
e2f1daf
Merge pull request #5480 from RothAndrew/patch-1
k8s-ci-robot Apr 30, 2020
e4dcaf0
Only load docker images in kind worker nodes
aledbf Apr 30, 2020
81514a5
Fix chart maxmindLicenseKey location
aledbf Apr 30, 2020
3b217cf
make sure first backend sync happens in timer phase
ElvinEfendi Apr 30, 2020
1d4f165
Merge pull request #5481 from ElvinEfendi/fix-first-backend-sync
k8s-ci-robot May 1, 2020
6c821d3
Add note about firewall ports for admission webhook
aledbf May 1, 2020
4468451
Release 0.32.0
aledbf May 1, 2020
080b917
Update kind
aledbf May 1, 2020
82588a3
Add configuration option for the runAsUser parameter of the webhook p…
May 3, 2020
5089690
Add configuration option for the imagePullSecrets in the WH jobs
May 4, 2020
c6b053d
Update job-patchWebhook.yaml
jpreese May 4, 2020
5148443
Move webhook runAsUser from patch.image.runAsUser to patch.runAsUser
May 4, 2020
5c2c90d
Merge pull request #5503 from jpreese/patch-1
k8s-ci-robot May 4, 2020
45698ca
Merge pull request #5504 from janosi/wh_imagepullsecret
k8s-ci-robot May 4, 2020
4b62da8
Merge pull request #5494 from janosi/wh_runasuser
k8s-ci-robot May 4, 2020
a9add96
Release chart 2.1.0
aledbf May 4, 2020
c8b6ba8
Remove unused targetPort definition
aledbf May 4, 2020
75dab4a
wrong filename
nirroz93 May 6, 2020
29aa50d
Merge pull request #5512 from nirroz93/patch-1
k8s-ci-robot May 7, 2020
5c65cf4
build: remove unnecessary tag line in e2e
May 7, 2020
0e785a0
Merge pull request #5516 from cmluciano/cml/runcommentremove
k8s-ci-robot May 7, 2020
639a8c7
Enable TLSv1.3 by default
praseodym May 2, 2020
4a36c80
Add 0-RTT warning
praseodym May 3, 2020
3c5e3ed
Remove duplicate annotation parsing for annotationAffinityCookieChang…
kevinfrommelt May 8, 2020
e775495
Remove duplicate Cookie.ChangeOnFailure assertion
kevinfrommelt May 8, 2020
bef2efc
Merge pull request #5491 from praseodym/fix-tls-configuration
k8s-ci-robot May 9, 2020
41d8200
Add annotation ssl-prefer-server-ciphers.
agile6v May 11, 2020
38a8556
Add comments for sslcipher.Config struct.
agile6v May 13, 2020
38f99ce
Update testcase for sslCipher.
agile6v May 13, 2020
46cca5a
Fix error setting $service_name NGINX variable
aledbf May 11, 2020
2e4c823
Merge pull request #5522 from kevinfrommelt/remove-duplicate-annotati…
k8s-ci-robot May 14, 2020
4179f71
Check service If publish-service flag is defined
aledbf May 14, 2020
b18ea26
Wait before any request to the ingress controller pod
aledbf Apr 28, 2020
c52d55a
Use ingress-nginx-* naming in docs to match the default deployment
ebeigarts May 17, 2020
84e5896
Merge pull request #5563 from ebeigarts/docs-fix
k8s-ci-robot May 17, 2020
c0ca846
Update configmap name in custom-headers/README.md
ebeigarts May 18, 2020
a082962
Merge pull request #5566 from ebeigarts/docs-more-fix
k8s-ci-robot May 18, 2020
766999a
Use image promoter to push images to gcr
aledbf May 19, 2020
e6d570d
add toleration support for admission webhooks
tuananhnguyen-ct May 19, 2020
0cbe783
Merge pull request #5572 from tuananhnguyen-ct/chart-node-taint-webhook
k8s-ci-robot May 20, 2020
2205edb
Allow pulling images by digest
Graham42 May 20, 2020
0e79ad8
Update unit & e2e tests.
agile6v May 20, 2020
a53ef2b
Add note about initial delay during first start
aledbf May 20, 2020
d03266d
Add MaxMind GeoIP2 Anonymous IP support
adiov May 21, 2020
ad0b923
Merge pull request #5582 from Graham42/pull-by-digest
k8s-ci-robot May 21, 2020
7169f3b
Merge pull request #5586 from adiov/geoip2-anon-support
k8s-ci-robot May 21, 2020
ec3da4d
Update go dependencies
aledbf May 22, 2020
227f974
Update nginx to 1.19.0
aledbf May 26, 2020
2094059
Update debian-base image
aledbf May 26, 2020
7893550
Update nginx image and go to 1.14.3
aledbf May 26, 2020
f6f695e
Merge pull request #5578 from aledbf/ip
k8s-ci-robot May 26, 2020
e51556f
fix oauth2-proxy image repository
koba1t May 28, 2020
ee02d89
Merge pull request #5534 from agile6v/master
k8s-ci-robot May 29, 2020
85a94fc
Add support for s390x
aledbf May 28, 2020
6c633ee
Remove unused download of GeoIP databases
aledbf May 29, 2020
8683d2c
Update terraform build images
aledbf May 29, 2020
4687a5f
add lj-releng tool to check lua code.
agile6v May 30, 2020
734f385
Merge pull request #5624 from agile6v/master
k8s-ci-robot May 30, 2020
efbd0e5
Update nginx image to use alpine 3.12
aledbf May 30, 2020
e3c49c5
Update nginx image
aledbf May 30, 2020
0f20548
Use new multi-arch nginx image
aledbf May 29, 2020
d250b97
Build multi-arch images by default
aledbf May 31, 2020
7bd62f5
Fix makefile task names
aledbf May 31, 2020
5f03b07
Update e2e image
aledbf May 31, 2020
7598078
Update buildx progress configuration
aledbf May 31, 2020
157cc50
Merge pull request #5613 from koba1t/fix-oauth2-proxy-hosted-repo
k8s-ci-robot May 31, 2020
c035a14
Support the combination of nginx variables and text value for annotat…
agile6v May 19, 2020
ea85404
Do not reload NGINX if master process dies
aledbf May 31, 2020
d061375
Merge pull request #5571 from agile6v/dev
k8s-ci-robot Jun 1, 2020
810acfa
Enable coredumps for e2e tests
aledbf Jun 1, 2020
8e2eebb
Update timeout to align values
aledbf Jun 2, 2020
ea8e711
Refactor build of docker images
aledbf Jun 2, 2020
25ffd64
Add missing ARCH variable
aledbf Jun 2, 2020
dec45b1
Fix dev-env makefile task
aledbf Jun 2, 2020
a342688
Fix build of image on osx
aledbf Jun 2, 2020
2b17980
Remove copy of binaries and deprecated e2e task
aledbf Jun 2, 2020
ee84603
Add minor doc fixes to user guide and chart readme
chamilad Jun 3, 2020
6848be5
Add documentation for loading e2e tests without using minikube
jeffrey-hui Jun 3, 2020
8419bb6
Merge pull request #5652 from jeffrey-hui/patch-1
k8s-ci-robot Jun 3, 2020
fc1c043
Add http-access-log-path and stream-access-log-path options in configMap
agile6v Jun 4, 2020
9c25e65
Update cloud-build configuration
aledbf Jun 4, 2020
4412942
Set missing USER in cloud-build
aledbf Jun 4, 2020
0b1d784
Add missing REPO_INFO en variable to cloud-build
aledbf Jun 4, 2020
c687323
Increase cloud-build timeout
aledbf Jun 4, 2020
36f7dd2
Fix cloud-timeout setting
aledbf Jun 4, 2020
418c3de
Merge pull request #5646 from chamilad/doc_fixes
k8s-ci-robot Jun 5, 2020
1e6cd68
Add URL to official grafana dashboards
nvtkaszpir Jun 7, 2020
4e4f447
Merge pull request #5677 from nvtkaszpir/patch-1
k8s-ci-robot Jun 8, 2020
99aad29
Merge pull request #5656 from agile6v/dev
k8s-ci-robot Jun 8, 2020
7767230
fix undefined variable $auth_cookie error when location is denied
Jun 8, 2020
1ecc0b3
Merge pull request #5664 from jeffrey-hui/master
k8s-ci-robot Jun 8, 2020
bafbd4c
Enable lj-releng tool to lint lua code.
agile6v Jun 6, 2020
8242fc7
Fix typo
saraedum Jun 9, 2020
928ea08
Merge pull request #5682 from saraedum/patch-2
k8s-ci-robot Jun 9, 2020
0549d9b
Merge pull request #5672 from agile6v/master
k8s-ci-robot Jun 9, 2020
3d3efaa
Fix proxy_protocol duplication in listen definition
aledbf Jun 9, 2020
f27b404
Serve correct TLS certificate for requests with uppercase host
AndiDog Jun 5, 2020
1d4c7ec
Fix lua lint error
aledbf Jun 9, 2020
5b0f7d7
Improve performance.
agile6v Jun 10, 2020
c223b02
Prepare for release 0.33.0
aledbf Jun 10, 2020
589187c
Merge pull request #5665 from agile6v/performance
k8s-ci-robot Jun 11, 2020
df8ceea
Release 0.33.0
aledbf Jun 10, 2020
09074a8
Configure User-Agent
sylr Jun 11, 2020
c9cb3dd
Filter out objects that belong to Helm
sylr Jun 11, 2020
c0ae83f
Use build tags to make it compile on non linux platforms
sylr Jun 11, 2020
e9c9068
Fix controller.publishService.enabled on README
dbpolito Jun 12, 2020
4ff9830
fix for #5666
kundan2707 Jun 12, 2020
3939fd2
Merge pull request #5706 from dbpolito/patch-1
k8s-ci-robot Jun 12, 2020
507bef8
Merge pull request #5707 from kundan2707/myupdate
k8s-ci-robot Jun 12, 2020
7d50c80
Update mkdocs
aledbf Jun 12, 2020
e9a08ab
Merge pull request #5700 from sylr/user-agent
k8s-ci-robot Jun 13, 2020
0f0a77c
Merge pull request #5703 from sylr/build-no-cgroups
k8s-ci-robot Jun 13, 2020
d917435
Fix static manifests location
aledbf Jun 13, 2020
832c4e8
Merge pull request #5702 from sylr/filter-tiller-configmaps
k8s-ci-robot Jun 13, 2020
7054e1e
Update troubleshooting.md
jqlu Jun 16, 2020
c067366
Remove deprecrated --generator flag
aledbf Jun 16, 2020
2e5a4bc
Merge pull request #5724 from jqlu/patch-1
k8s-ci-robot Jun 16, 2020
398f548
Add support for an internal load balancer along with an external one
lgg42 Jun 15, 2020
c5d7e2a
Merge pull request #5717 from geoblink/feature/add-support-for-intern…
k8s-ci-robot Jun 16, 2020
c0035d2
Fix e2e externalName test
aledbf Jun 16, 2020
1d54d8b
Add sysctl exemptions to controller PSP
towolf Jun 12, 2020
e65b2ca
Merge pull request #5708 from towolf/patch-1
k8s-ci-robot Jun 16, 2020
5e88760
Adjust E2E_NODES variable
aledbf Jun 17, 2020
6545b1f
docs: update development.md
kulong0105 Jun 17, 2020
8f389c5
Merge pull request #5729 from kulong0105/master
k8s-ci-robot Jun 17, 2020
2d51fbf
Fix make-clean target
aledbf Jun 17, 2020
baed5c6
add custom metric to hpa template
oleksandrsemak Jun 11, 2020
6048e63
Merge pull request #5704 from alexandrsemak/master
k8s-ci-robot Jun 18, 2020
fc5c448
Allow to use a custom arch to run e2e tests
aledbf Jun 19, 2020
eb4ec91
Enable stream_realip_module.
agile6v Jun 19, 2020
13b6532
docs: update development.md to use ingress-nginx-*
sslavic Jun 20, 2020
152364a
Merge pull request #5751 from sslavic/patch-2
k8s-ci-robot Jun 20, 2020
f232a26
Add default-type as a configurable for default_type
MengqiWu Jun 21, 2020
687e433
Merge pull request #5745 from MengqiWu/ingress
k8s-ci-robot Jun 21, 2020
1ba39f5
Merge pull request #5747 from agile6v/stream
k8s-ci-robot Jun 22, 2020
ce922ff
Cherry-picks from 0.24.1:
snelson-pp Nov 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

98 changes: 98 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
name: Bug report
about: Problems and issues with code or docs
title: ''
labels: kind/bug
assignees: ''

---

<!--

Welcome to ingress-nginx! For a smooth issue process, try to answer the following questions.
Don't worry if they're not all applicable; just try to include what you can :-)

If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>

-->

<!--

IMPORTANT!!!

Please complete the next sections or the issue will be closed.
This questions are the first thing we need to know to understand the context.

-->

**NGINX Ingress controller version**:

**Kubernetes version** (use `kubectl version`):

**Environment**:

- **Cloud provider or hardware configuration**:
- **OS** (e.g. from /etc/os-release):
- **Kernel** (e.g. `uname -a`):
- **Install tools**:
- **Others**:

**What happened**:

<!-- (please include exact error messages if you can) -->

**What you expected to happen**:

<!-- What do you think went wrong? -->

**How to reproduce it**:
<!---

As minimally and precisely as possible. Keep in mind we do not have access to your cluster or application.
Help up us (if possible) reproducing the issue using minikube or kind.

## Install minikube/kind

- Minikube https://minikube.sigs.k8s.io/docs/start/
- Kind https://kind.sigs.k8s.io/docs/user/quick-start/

## Install the ingress controller

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/baremetal/deploy.yaml

## Install an application that will act as default backend (is just an echo app)

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/http-svc.yaml

## Create an ingress (please add any additional annotation required)

echo "
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: foo-bar
spec:
rules:
- host: foo.bar
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
" | kubectl apply -f -

## make a request

POD_NAME=$(k get pods -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx -o NAME)
kubectl exec -it -n ingress-nginx $POD_NAME -- curl -H 'Host: foo.bar' localhost

--->

**Anything else we need to know**:

<!-- If this is actually about documentation, add `/kind documentation` below -->

/kind bug
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Feature request
about: Suggest an idea for this project or its docs
title: ''
labels: kind/feature
assignees: ''

---

<!--

Welcome to ingress-nginx! For a smooth feature request process, try to
answer the following questions. Don't worry if they're not all applicable; just
try to include what you can :-)

If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>

-->

<!-- What do you want to happen? -->

<!-- Is there currently another issue associated with this? -->

<!-- Does it require a particular kubernetes version? -->

<!-- If this is actually about documentation, add `/kind documentation` below -->

/kind feature
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/support-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Question
about: Any questions you might have.
title: ''
labels: triage/support
assignees: ''

---

<!--

Welcome to ingress-nginx!

You probably didn't want to be one this page. It shouldn't really be here anyway.

* If you want a quick response to a question, ask on the Kubernetes Slack instance in #ingress-nginx.

* If this is actually a bug or a feature request, file one of those. If you're
not sure which, just take a guess and we can always re-label.

* If you think this might turn into a bug or feature request, but you're not
sure, try asking in Slack first.

-->

<!--

Still here? Double-check that this hasn't been asked before, then put your question below
with as many details as possible.

If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>

-->

/triage support
37 changes: 30 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide
2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
-->
<!--- Provide a general summary of your changes in the Title above --->
<!--- Please don't @-mention people in PR or commit messages (do so in an additional comment). --->

## What this PR does / why we need it:
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

**What this PR does / why we need it**:
## Which issue/s this PR fixes
<!--
(optional, in `fixes #<issue number>` format, will close that issue when PR gets merged):

fixes #
-->

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

**Special notes for your reviewer**:
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/master/CONTRIBUTING.md) guide
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
8 changes: 8 additions & 0 deletions .github/actions/mkdocs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM squidfunk/mkdocs-material:5.2.3

COPY action.sh /action.sh

RUN apk add --no-cache bash \
&& chmod +x /action.sh

ENTRYPOINT ["/action.sh"]
51 changes: 51 additions & 0 deletions .github/actions/mkdocs/action.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/bin/bash

# Copyright 2020 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

REQUIREMENTS="${GITHUB_WORKSPACE}/requirements.txt"

if [ -f "${REQUIREMENTS}" ]; then
pip install -r "${REQUIREMENTS}"
fi

if [ -n "${GITHUB_TOKEN}" ]; then
remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
elif [ -n "${PERSONAL_TOKEN}" ]; then
remote_repo="https://x-access-token:${PERSONAL_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
fi

git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"

mkdocs build --config-file "${GITHUB_WORKSPACE}/mkdocs.yml"

git clone --branch=gh-pages --depth=1 "${remote_repo}" gh-pages
cd gh-pages

# copy current index file index.yaml before any change
temp_worktree=$(mktemp -d)
cp --force "index.yaml" "$temp_worktree/index.yaml"
# remove current content in branch gh-pages
git rm -r .
# copy new doc.
cp -r ../site/* .
# restore chart index
cp "$temp_worktree/index.yaml" .
# commit changes
git add .
git commit -m "Deploy GitHub Pages"
git push --force --quiet "${remote_repo}" gh-pages > /dev/null 2>&1
9 changes: 9 additions & 0 deletions .github/actions/mkdocs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# action.yml
name: 'Deploy MkDocs'
description: 'Deploys MkDocs site'
branding:
icon: 'arrow-up-circle'
color: 'orange'
runs:
using: 'docker'
image: 'Dockerfile'
37 changes: 37 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Documentation and Helm chart

on:
push:
branches:
- master

jobs:

docs:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1

- name: Deploy docs
uses: ./.github/actions/mkdocs
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}

chart:
needs: docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1

- name: Setup
shell: bash
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.PERSONAL_TOKEN }}"
Loading