-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port enhancement from
dependency-track
chart to hyades
Includes changes from: * #13 * #22 * #23 * #33 * #34 * #42 * #52 * #55 * #57 * #83 * #87 Co-authored-by: Pawel Mrowka <[email protected]> Co-authored-by: Edvin Norling <[email protected]> Co-authored-by: Jaz Ark <[email protected]> Co-authored-by: Arnaud Hatzenbuhler <[email protected]> Co-authored-by: Stefan Hynek <[email protected]> Co-authored-by: Theodor van Nahl <[email protected]> Co-authored-by: Sergiy Kulanov <[email protected]> Signed-off-by: nscuro <[email protected]>
- Loading branch information
1 parent
60039ae
commit 81e3fc5
Showing
17 changed files
with
366 additions
and
116 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 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
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 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
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,46 @@ | ||
{{- if and .Values.ingress.enabled (or .Values.apiServer.enabled .Values.frontend.enabled) -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "hyades.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
{{- with .Values.ingress.annotations }} | ||
annotations: {{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
{{- if .Values.ingress.ingressClassName | empty | not }} | ||
ingressClassName: {{ .Values.ingress.ingressClassName | quote }} | ||
{{- end }} | ||
{{- if .Values.ingress.tls }} | ||
tls: | ||
{{- range .Values.ingress.tls }} | ||
- hosts: | ||
{{- range .hosts }} | ||
- {{ . | quote }} | ||
{{- end }} | ||
secretName: {{ .secretName }} | ||
{{- end }} | ||
{{- end }} | ||
rules: | ||
- host: {{ .Values.ingress.hostname | quote }} | ||
http: | ||
paths: | ||
{{- if .Values.apiServer.enabled }} | ||
- path: /api | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "hyades.apiServerFullname" . }} | ||
port: | ||
name: web | ||
{{- end }} | ||
{{- if .Values.frontend.enabled }} | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "hyades.frontendFullname" . }} | ||
port: | ||
name: web | ||
{{- end }} | ||
{{- end }} |
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
Oops, something went wrong.