
* feat(argo-workflows): Allow adding additional ServiceAccounts to RoleBinding (#2676) remove unnecessary if statements Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com> Co-authored-by: Aikawa <yu.croco@gmail.com> Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * feat(argo-cd): Support ability to set .Values.namespaceOverride Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * fix(argo-cd): typo Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * chore(deps): update actions/create-github-app-token action to v1.10.0 (#2677) Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com> Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678) Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * feat(argo-cd): Support ability to set .Values.namespaceOverride Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * fix(argo-cd): typo Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * fix(argo-cd): autocorrection Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * fix(argo-cd): typos Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * fix(argo-cd): typos Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * removed auota Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> * Update Chart.yaml Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com> --------- Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com> Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com> Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com> Co-authored-by: Daniel Beilin <144586547+dbeilin@users.noreply.github.com> Co-authored-by: Aikawa <yu.croco@gmail.com> Co-authored-by: Andres Vara Parsegov <andres.vara@chase.com> Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com> Co-authored-by: mitchell amihod <mitchell@amihod.com>
63 lines
2.3 KiB
YAML
63 lines
2.3 KiB
YAML
{{- if .Values.server.ingressGrpc.enabled -}}
|
|
{{- $hostname := printf "grpc.%s" (.Values.server.ingress.hostname | default .Values.global.domain) -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "argo-cd.server.fullname" . }}-grpc
|
|
namespace: {{ include "argo-cd.namespace" . }}
|
|
labels:
|
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
|
{{- with .Values.server.ingressGrpc.labels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.server.ingressGrpc.annotations }}
|
|
annotations:
|
|
{{- range $key, $value := . }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
spec:
|
|
{{- with .Values.server.ingressGrpc.ingressClassName }}
|
|
ingressClassName: {{ . }}
|
|
{{- end }}
|
|
rules:
|
|
- host: {{ .Values.server.ingressGrpc.hostname | default $hostname }}
|
|
http:
|
|
paths:
|
|
{{- with .Values.server.ingressGrpc.extraPaths }}
|
|
{{- tpl (toYaml .) $ | nindent 10 }}
|
|
{{- end }}
|
|
- path: {{ .Values.server.ingressGrpc.path }}
|
|
pathType: {{ .Values.server.ingressGrpc.pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "argo-cd.server.fullname" . }}
|
|
port:
|
|
number: {{ .Values.server.service.servicePortHttps }}
|
|
{{- range .Values.server.ingressGrpc.extraHosts }}
|
|
- host: {{ .name | quote }}
|
|
http:
|
|
paths:
|
|
- path: {{ default $.Values.server.ingressGrpc.path .path }}
|
|
pathType: {{ default $.Values.server.ingressGrpc.pathType .pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "argo-cd.server.fullname" $ }}
|
|
port:
|
|
number: {{ $.Values.server.service.servicePortHttps }}
|
|
{{- end }}
|
|
{{- with .Values.server.ingressGrpc.extraRules }}
|
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.server.ingressGrpc.tls .Values.server.ingressGrpc.extraTls }}
|
|
tls:
|
|
{{- if .Values.server.ingressGrpc.tls }}
|
|
- hosts:
|
|
- {{ .Values.server.ingressGrpc.hostname | default $hostname }}
|
|
secretName: argocd-server-grpc-tls
|
|
{{- end }}
|
|
{{- with .Values.server.ingressGrpc.extraTls }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|