fix(argo-cd): Fix Ingress version issue and update virtualserver role access (#5)

This commit is contained in:
Brandon J 2022-05-25 09:53:18 -06:00 committed by GitHub
parent e88508ed63
commit f1ab4719de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 7 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.3.1
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 4.2.2
version: 4.2.3
home: https://github.com/coreweave/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:

View file

@ -50,7 +50,13 @@ rules:
resources:
- virtualservers
verbs:
- '*'
- create
- delete
- update
- patch
- get
- list
- watch
- apiGroups:
- argoproj.io
resources:

View file

@ -19,11 +19,24 @@ spec:
- host: {{ include "coreweave.externalDnsName" . }}
http:
paths:
- backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
path: /
pathType: Prefix
- path: /
{{- if eq (include "argo-cd.ingress.apiVersion" $) "networking.k8s.io/v1" }}
pathType: Prefix
{{- end }}
backend:
{{- if eq (include "argo-cd.ingress.apiVersion" $) "networking.k8s.io/v1" }}
service:
name: {{ $serviceName }}
port:
{{- if kindIs "float64" $servicePort }}
number: {{ $servicePort }}
{{- else }}
name: {{ $servicePort }}
{{- end }}
{{- else }}
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
{{- end }}
tls:
- hosts:
- {{ include "coreweave.externalDnsName" . }}