fix(argo-workflows): artifactRepository will not be configured by default
Signed-off-by: tomoki-yamaguchi <toyamagu2021@gmail.com>
This commit is contained in:
parent
490ffa574c
commit
a6a2c61d02
5 changed files with 73 additions and 13 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
|
||||||
|
|
22
charts/argo-workflows/ci/enable-artifact-repo-s3-values.yaml
Normal file
22
charts/argo-workflows/ci/enable-artifact-repo-s3-values.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Test with artifact repository(s3)
|
||||||
|
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
|
36
charts/argo-workflows/ci/enable-artifact-repo-values.yaml
Normal file
36
charts/argo-workflows/ci/enable-artifact-repo-values.yaml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Test with artifact repository(azure, gcp. s3 will be ignored.)
|
||||||
|
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
|
|
@ -55,6 +55,7 @@ data:
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.artifactRepository.gcs .Values.artifactRepository.azure .Values.artifactRepository.s3 }}
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
{{- if .Values.artifactRepository.archiveLogs }}
|
{{- if .Values.artifactRepository.archiveLogs }}
|
||||||
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
||||||
|
@ -95,6 +96,7 @@ data:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.customArtifactRepository }}
|
{{- if .Values.customArtifactRepository }}
|
||||||
{{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
{{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -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