mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
* Create new Argo Workflows Helm Chart Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add server component Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add controller component Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix templates issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix chart issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add NOTES.txt Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add README Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix bugs Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix linter Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add README parameters table Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix issue in NOTES.txt Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address suggested changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Move configuration from configmap to values.yaml Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Refactor database configuration Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix linter issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix images repository and tags Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix NOTES.txt trim spaces Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address suggested changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Sync dependencies Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix typos * Execute readme-generator Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Use Postgresql by default Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix typo Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com>
71 lines
3.1 KiB
YAML
71 lines
3.1 KiB
YAML
{{- if .Values.ingress.enabled }}
|
|
apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }}
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "argo-workflows.server.fullname" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: server
|
|
app.kubernetes.io/part-of: argo-workflows
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.ingress.annotations .Values.commonAnnotations .Values.ingress.certManager }}
|
|
annotations:
|
|
# Ref: https://argoproj.github.io/argo-workflows/argo-server/#ingress
|
|
ingress.kubernetes.io/rewrite-target: /$2
|
|
{{- if .Values.server.secure }}
|
|
ingress.kubernetes.io/protocol: https # Traefik
|
|
nginx.ingress.kubernetes.io/backend-protocol: https # Nginx
|
|
{{- end }}
|
|
{{- if .Values.ingress.certManager }}
|
|
kubernetes.io/tls-acme: "true"
|
|
{{- end }}
|
|
{{- if .Values.ingress.annotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if and .Values.ingress.ingressClassName }}
|
|
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
|
|
{{- end }}
|
|
rules:
|
|
{{- if .Values.ingress.hostname }}
|
|
- host: {{ .Values.ingress.hostname }}
|
|
http:
|
|
paths:
|
|
{{- if .Values.ingress.extraPaths }}
|
|
{{- toYaml .Values.ingress.extraPaths | nindent 10 }}
|
|
{{- end }}
|
|
- path: {{ .Values.ingress.path }}
|
|
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
|
|
pathType: {{ .Values.ingress.pathType }}
|
|
{{- end }}
|
|
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "argo-workflows.server.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
|
|
{{- end }}
|
|
{{- range .Values.ingress.extraHosts }}
|
|
- host: {{ .name | quote }}
|
|
http:
|
|
paths:
|
|
- path: {{ default "/" .path }}
|
|
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
|
|
pathType: {{ default "ImplementationSpecific" .pathType }}
|
|
{{- end }}
|
|
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "argo-workflows.server.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
|
|
{{- end }}
|
|
{{- if or (and .Values.ingress.tls (or .Values.ingress.certManager .Values.ingress.selfSigned)) .Values.ingress.extraTls }}
|
|
tls:
|
|
{{- if and .Values.ingress.tls (or .Values.ingress.certManager .Values.ingress.selfSigned) }}
|
|
- hosts:
|
|
- {{ .Values.ingress.hostname | quote }}
|
|
secretName: {{ printf "%s-tls" .Values.ingress.hostname }}
|
|
{{- end }}
|
|
{{- if .Values.ingress.extraTls }}
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.extraTls "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|