This commit is contained in:
parent
4ff88759c9
commit
f1526ec558
4 changed files with 64 additions and 16 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.8
|
||||||
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.29.3
|
version: 0.30.0
|
||||||
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
icon: https://argoproj.github.io/argo-workflows/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: fixed
|
- kind: fixed
|
||||||
description: Modify to allow ClusterRoleBinding to be created even if the server's ServiceAccount is not created
|
description: artifactRepository will not be configured by default
|
||||||
|
|
46
charts/argo-workflows/ci/enable-artifact-repo-values.yaml
Normal file
46
charts/argo-workflows/ci/enable-artifact-repo-values.yaml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# Test with artifact repository
|
||||||
|
crds:
|
||||||
|
keep: false
|
||||||
|
|
||||||
|
useStaticCredentials: true
|
||||||
|
artifactRepository:
|
||||||
|
archiveLogs: false
|
||||||
|
s3:
|
||||||
|
accessKeySecret:
|
||||||
|
name: "{{ .Release.Name }}-minio"
|
||||||
|
key: accesskey
|
||||||
|
secretKeySecret:
|
||||||
|
name: "{{ .Release.Name }}-minio"
|
||||||
|
key: secretkey
|
||||||
|
insecure: false
|
||||||
|
bucket:
|
||||||
|
endpoint:
|
||||||
|
region:
|
||||||
|
roleARN:
|
||||||
|
useSDKCreds: true
|
||||||
|
encryptionOptions:
|
||||||
|
enableEncryption: true
|
||||||
|
gcs:
|
||||||
|
bucket: project-argo
|
||||||
|
keyFormat: "{{ `{{workflow.namespace}}/{{workflow.name}}/{{pod.name}}` }}"
|
||||||
|
serviceAccountKeySecret:
|
||||||
|
name: my-gcs-credentials
|
||||||
|
key: serviceAccountKey
|
||||||
|
azure:
|
||||||
|
endpoint: https://mystorageaccountname.blob.core.windows.net
|
||||||
|
container: my-container-name
|
||||||
|
blobNameFormat: path/in/container
|
||||||
|
useSDKCreds: true
|
||||||
|
accountKeySecret:
|
||||||
|
name: my-azure-storage-credentials
|
||||||
|
key: account-access-key
|
||||||
|
|
||||||
|
customArtifactRepository:
|
||||||
|
artifactory:
|
||||||
|
repoUrl: https://artifactory.example.com/raw
|
||||||
|
usernameSecret:
|
||||||
|
name: artifactory-creds
|
||||||
|
key: username
|
||||||
|
passwordSecret:
|
||||||
|
name: artifactory-creds
|
||||||
|
key: password
|
|
@ -55,6 +55,7 @@ data:
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.artifactRepository.s3 .Values.artifactRepository.gcs .Values.artifactRepository.azure .Values.customArtifactRepository }}
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
{{- if .Values.artifactRepository.archiveLogs }}
|
{{- if .Values.artifactRepository.archiveLogs }}
|
||||||
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
||||||
|
@ -65,7 +66,7 @@ data:
|
||||||
{{- with .Values.artifactRepository.azure }}
|
{{- with .Values.artifactRepository.azure }}
|
||||||
azure: {{- tpl (toYaml .) $ | nindent 8 }}
|
azure: {{- tpl (toYaml .) $ | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and (not .Values.artifactRepository.gcs) (not .Values.artifactRepository.azure) }}
|
{{- if .Values.artifactRepository.s3 }}
|
||||||
s3:
|
s3:
|
||||||
{{- if .Values.useStaticCredentials }}
|
{{- if .Values.useStaticCredentials }}
|
||||||
accessKeySecret:
|
accessKeySecret:
|
||||||
|
@ -95,8 +96,9 @@ data:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.customArtifactRepository }}
|
{{- if .Values.customArtifactRepository }}
|
||||||
{{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
{{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.metricsConfig.enabled }}
|
{{- if .Values.controller.metricsConfig.enabled }}
|
||||||
metricsConfig:
|
metricsConfig:
|
||||||
|
|
|
@ -705,17 +705,17 @@ artifactRepository:
|
||||||
archiveLogs: false
|
archiveLogs: false
|
||||||
# -- Store artifact in a S3-compliant object store
|
# -- Store artifact in a S3-compliant object store
|
||||||
# @default -- See [values.yaml]
|
# @default -- See [values.yaml]
|
||||||
s3:
|
s3: {}
|
||||||
# Note the `key` attribute is not the actual secret, it's the PATH to
|
# # Note the `key` attribute is not the actual secret, it's the PATH to
|
||||||
# the contents in the associated secret, as defined by the `name` attribute.
|
# # the contents in the associated secret, as defined by the `name` attribute.
|
||||||
accessKeySecret:
|
# accessKeySecret:
|
||||||
name: "{{ .Release.Name }}-minio"
|
# name: "{{ .Release.Name }}-minio"
|
||||||
key: accesskey
|
# key: accesskey
|
||||||
secretKeySecret:
|
# secretKeySecret:
|
||||||
name: "{{ .Release.Name }}-minio"
|
# name: "{{ .Release.Name }}-minio"
|
||||||
key: secretkey
|
# key: secretkey
|
||||||
# insecure will disable TLS. Primarily used for minio installs not configured with TLS
|
# # insecure will disable TLS. Primarily used for minio installs not configured with TLS
|
||||||
insecure: false
|
# insecure: false
|
||||||
# bucket:
|
# bucket:
|
||||||
# endpoint:
|
# endpoint:
|
||||||
# region:
|
# region:
|
||||||
|
|
Loading…
Reference in a new issue