
* 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>
71 lines
2.8 KiB
YAML
71 lines
2.8 KiB
YAML
{{- if and .Values.server.ingress.enabled (eq .Values.server.ingress.controller "aws") }}
|
|
{{- $insecure := index .Values.configs.params "server.insecure" | toString -}}
|
|
{{- $servicePort := eq $insecure "true" | ternary .Values.server.service.servicePortHttp .Values.server.service.servicePortHttps -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "argo-cd.server.fullname" . }}
|
|
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.ingress.labels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
annotations:
|
|
alb.ingress.kubernetes.io/conditions.{{ include "argo-cd.server.fullname" . }}-grpc: |
|
|
[{"field":"http-header","httpHeaderConfig":{"httpHeaderName": "Content-Type", "values":["application/grpc"]}}]
|
|
{{- range $key, $value := .Values.server.ingress.annotations }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
spec:
|
|
{{- with .Values.server.ingress.ingressClassName }}
|
|
ingressClassName: {{ . }}
|
|
{{- end }}
|
|
rules:
|
|
- host: {{ .Values.server.ingress.hostname | default .Values.global.domain }}
|
|
http:
|
|
paths:
|
|
{{- with .Values.server.ingress.extraPaths }}
|
|
{{- tpl (toYaml .) $ | nindent 10 }}
|
|
{{- end }}
|
|
- path: {{ .Values.server.ingress.path }}
|
|
pathType: {{ $.Values.server.ingressGrpc.pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "argo-cd.server.fullname" $ }}-grpc
|
|
port:
|
|
number: {{ $servicePort }}
|
|
- path: {{ .Values.server.ingress.path }}
|
|
pathType: {{ $.Values.server.ingress.pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "argo-cd.server.fullname" . }}
|
|
port:
|
|
number: {{ $servicePort }}
|
|
{{- range .Values.server.ingress.extraHosts }}
|
|
- host: {{ .name | quote }}
|
|
http:
|
|
paths:
|
|
- path: {{ default $.Values.server.ingress.path .path }}
|
|
pathType: {{ default $.Values.server.ingress.pathType .pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "argo-cd.server.fullname" $ }}
|
|
port:
|
|
number: {{ $servicePort }}
|
|
{{- end }}
|
|
{{- with .Values.server.ingress.extraRules }}
|
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.server.ingress.tls .Values.server.ingress.extraTls }}
|
|
tls:
|
|
{{- if .Values.server.ingress.tls }}
|
|
- hosts:
|
|
- {{ .Values.server.ingress.hostname | default .Values.global.domain }}
|
|
secretName: argocd-server-tls
|
|
{{- end }}
|
|
{{- with .Values.server.ingress.extraTls }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|