-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update default backend to add TLS >=1.2 support #9166
Open
JJotah
wants to merge
21
commits into
kubernetes:main
Choose a base branch
from
JJotah:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c4d559a
Add configmap for custom message in default backend
JJotah d3f8f06
Updating default-backend-deployment to use the new configmap and images
JJotah 8e9c000
Update values yaml file due security reasons in default backend
JJotah 10e3e6f
Update chart.yaml with new changes
JJotah 80b5022
Update values.yaml file with the new changes
JJotah d9ed1c4
Update Changelog due security issue TLS < 1.2
JJotah ad86933
update values with new conf for lint
JJotah 794bc39
Update README with helm-docs
JJotah 76d38c8
Merge branch 'kubernetes:main' into main
JJotah cf4dfe3
Update Chart.yaml file
JJotah cad6312
Update README with helm-docs
JJotah 57abe3d
Updating default-backend-deployment to make it sure in security terms
JJotah 343fee0
Update default-backend-service with new non-root port
JJotah a790354
Update default values file
JJotah 6f5782f
Add new conf for non-root user in default-backend pod
JJotah 13af0cc
Update default values.yaml file
JJotah 65847da
Update changelog because is not needed by release notes
JJotah 5dce391
Use same version that were using for ingress
JJotah bec234e
Update README due nginx version
JJotah 67d5283
Set as false the DefaultBackend by default
JJotah 687e5ff
Update README due values defaultBackend to false
JJotah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
19 changes: 19 additions & 0 deletions
19
charts/ingress-nginx/templates/default-backend-configmap-nginxconf.yaml
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,19 @@ | ||
apiVersion: v1 | ||
data: | ||
default.conf: | | ||
server { | ||
listen {{ .Values.defaultBackend.port }}; | ||
listen [::]:{{ .Values.defaultBackend.port }}; | ||
server_name localhost; | ||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
} | ||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
} | ||
kind: ConfigMap | ||
metadata: | ||
name: default-backend-nginx-conf-configmap |
10 changes: 10 additions & 0 deletions
10
charts/ingress-nginx/templates/default-backend-configmap.yaml
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,10 @@ | ||
apiVersion: v1 | ||
data: | ||
index.html: | | ||
<h1>{{ .Values.defaultBackend.defaultBackendMessage }}</h1> | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
{{- include "ingress-nginx.labels" . | nindent 4 }} | ||
name: default-backend-message-configmap | ||
namespace: {{ .Release.Namespace }} |
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Update default backend to add TLS >=1.2 support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will get updated with we do a release, please remove from the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the PR at the bottom with the release notes PLACE RELEASE NOTES HERE