feat(argo-cd): added ability to install server ingress in different namespace than Release

Signed-off-by: Jacek Domagalski <domagalski.j@gmail.com>
This commit is contained in:
Jacek Domagalski 2023-02-21 10:59:47 +01:00 committed by Jacek Domagalski
parent 99932a96c2
commit 4353d8d4d6
4 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.6.2
kubeVersion: ">=1.22.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.22.1
version: 5.23.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -23,5 +23,5 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- kind: changed
description: Grouped component templates together
- kind: added
description: ability to install argo-cd server ingress in different namespace than Release

View file

@ -682,6 +682,7 @@ NAME: my-release
| server.ingress.https | bool | `false` | Uses `server.service.servicePortHttps` instead `server.service.servicePortHttp` |
| server.ingress.ingressClassName | string | `""` | Defines which ingress controller will implement the resource |
| server.ingress.labels | object | `{}` | Additional ingress labels |
| server.ingress.namespace | string | `""` | Install ingress in the different namespace than Release |
| server.ingress.pathType | string | `"Prefix"` | Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific` |
| server.ingress.paths | list | `["/"]` | List of ingress paths |
| server.ingress.tls | list | `[]` | Ingress TLS configuration |

View file

@ -7,6 +7,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "argo-cd.server.fullname" . }}
namespace: {{ .Values.server.ingress.namespace | default .Release.Namespace }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
{{- with .Values.server.ingress.labels }}

View file

@ -1693,6 +1693,8 @@ server:
ingress:
# -- Enable an ingress resource for the Argo CD server
enabled: false
# -- Install ingress in the different namespace than Release
namespace: ""
# -- Additional ingress annotations
annotations: {}
# -- Additional ingress labels