chore(argo-workflows): Add check whether the workflow server is enabled (#3292)

* chore: Add check whether the workflow server is enabled

Signed-off-by: liyang <daviderli614@gmail.com>

* apply suggestion

Signed-off-by: liyang <daviderli614@gmail.com>

---------

Signed-off-by: liyang <daviderli614@gmail.com>
pull/3346/head argo-workflows-0.45.17
liyang 2025-06-07 20:25:55 +08:00 committed by GitHub
parent 10a89fa751
commit 5f1390cd82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ appVersion: v3.6.10
name: argo-workflows name: argo-workflows
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
type: application type: application
version: 0.45.16 version: 0.45.17
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
sources: sources:
@ -17,4 +17,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: changed
description: Bump argo-workflows to v3.6.10 description: Add check whether the workflow server is enabled

View File

@ -1,4 +1,4 @@
{{- if .Values.server.GKEbackendConfig.enabled }} {{- if and .Values.server.enabled .Values.server.GKEbackendConfig.enabled }}
apiVersion: {{ include "argo-workflows.apiVersions.cloudgoogle" . }} apiVersion: {{ include "argo-workflows.apiVersions.cloudgoogle" . }}
kind: BackendConfig kind: BackendConfig
metadata: metadata:

View File

@ -1,4 +1,4 @@
{{- if .Values.server.GKEfrontendConfig.enabled }} {{- if and .Values.server.enabled .Values.server.GKEfrontendConfig.enabled }}
apiVersion: networking.gke.io/v1beta1 apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig kind: FrontendConfig
metadata: metadata:

View File

@ -1,4 +1,4 @@
{{- if .Values.server.GKEmanagedCertificate.enabled }} {{- if and .Values.server.enabled .Values.server.GKEmanagedCertificate.enabled }}
apiVersion: networking.gke.io/v1 apiVersion: networking.gke.io/v1
kind: ManagedCertificate kind: ManagedCertificate
metadata: metadata:

View File

@ -1,4 +1,4 @@
{{- if .Values.server.ingress.enabled -}} {{- if and .Values.server.enabled .Values.server.ingress.enabled -}}
{{- $serviceName := include "argo-workflows.server.fullname" . -}} {{- $serviceName := include "argo-workflows.server.fullname" . -}}
{{- $servicePort := .Values.server.servicePort -}} {{- $servicePort := .Values.server.servicePort -}}
{{- $paths := .Values.server.ingress.paths -}} {{- $paths := .Values.server.ingress.paths -}}