-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update helm chart to work with kong as a gateway (#8735)
* update helm chart to work with kong as a gateway * improve helm chart and dev pipeline * disable settings config map autorestore * update settings config map handling * make fix * update helm chart * update chart and api csrf protection flag name * restore image pull secrets support * restore image pull secrets support * add support for affinity to deployments * allow disabling default ingress annotations * fix nodeSelector templating issue * add support for dynamic base href and simplify serving dashboard on a subpath * fix make helm target * update values.yaml docs * make fix * fix helm lint * update DEVELOPMENT.md * yarn fix lint * revert formatting change * fix unit tests * update yarn.lock --------- Co-authored-by: Marcin Maciaszczyk <marcin9yk@icloud.com>
- Loading branch information
1 parent
d899692
commit 116f74e
Showing
60 changed files
with
1,012 additions
and
639 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
dependencies: | ||
- name: ingress-nginx | ||
repository: https://kubernetes.github.io/ingress-nginx | ||
version: 4.7.1 | ||
version: 4.10.0 | ||
- name: cert-manager | ||
repository: https://charts.jetstack.io | ||
version: v1.11.2 | ||
version: v1.14.3 | ||
- name: metrics-server | ||
repository: https://kubernetes-sigs.github.io/metrics-server/ | ||
version: 3.8.4 | ||
digest: sha256:a55a0d3f36aa4d4a38218c7f79224b273ce6388743574de2d679400c93d2b2d6 | ||
generated: "2023-07-08T19:07:40.182171996+02:00" | ||
version: 3.12.0 | ||
- name: kong | ||
repository: https://charts.konghq.com | ||
version: 2.38.0 | ||
digest: sha256:94e8aff5185ff5f76481ed0cc71bb3fbb272fa2ab06068079fcceb002bd47ef2 | ||
generated: "2024-03-02T00:46:32.54460399+01:00" |
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
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,63 @@ | ||
# Copyright 2017 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. | ||
|
||
{{- if eq .Values.app.mode "dashboard" }} | ||
|
||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
{{- include "kubernetes-dashboard.labels" . | nindent 4 }} | ||
name: {{ .Values.kong.dblessConfig.configMap }} | ||
data: | ||
kong.yml: | | ||
_format_version: "3.0" | ||
services: | ||
- name: auth | ||
host: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.auth.role }} | ||
port: 8000 | ||
protocol: http | ||
routes: | ||
- name: authLogin | ||
paths: | ||
- /api/v1/login | ||
strip_path: false | ||
- name: authCsrf | ||
paths: | ||
- /api/v1/csrftoken/login | ||
strip_path: false | ||
- name: api | ||
host: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.api.role }} | ||
port: 8000 | ||
protocol: http | ||
routes: | ||
- name: api | ||
paths: | ||
- /api | ||
strip_path: false | ||
- name: metrics | ||
paths: | ||
- /metrics | ||
strip_path: false | ||
- name: web | ||
host: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.web.role }} | ||
port: 8000 | ||
protocol: http | ||
routes: | ||
- name: root | ||
paths: | ||
- / | ||
strip_path: false | ||
{{- end -}} |
Oops, something went wrong.