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

View file

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

View file

@ -19,11 +19,24 @@ spec:
- host: {{ include "coreweave.externalDnsName" . }} - host: {{ include "coreweave.externalDnsName" . }}
http: http:
paths: paths:
- backend: - path: /
serviceName: {{ $serviceName }} {{- if eq (include "argo-cd.ingress.apiVersion" $) "networking.k8s.io/v1" }}
servicePort: {{ $servicePort }} pathType: Prefix
path: / {{- end }}
pathType: Prefix 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: tls:
- hosts: - hosts:
- {{ include "coreweave.externalDnsName" . }} - {{ include "coreweave.externalDnsName" . }}