{{- if and (eq .Values.artifactory.persistence.type "nfs") (.Values.artifactory.haDataDir.enabled) }} {{- end }} {{- if and (eq .Values.artifactory.persistence.type "nfs") (not .Values.artifactory.haDataDir.enabled) }} {{- if (.Values.artifactory.persistence.maxCacheSize) }} {{- else }} {{- end }} {{- if .Values.artifactory.persistence.maxCacheSize }} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{- end }} {{ .Values.artifactory.persistence.nfs.dataDir }}/filestore {{- end }} {{- if eq .Values.artifactory.persistence.type "file-system" }} {{- if .Values.artifactory.persistence.fileSystem.existingSharedClaim.enabled }} {{- range $sharedClaimNumber, $e := until (.Values.artifactory.persistence.fileSystem.existingSharedClaim.numberOfExistingClaims|int) -}} {{- end }} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} // Specify the read and write strategy and redundancy for the sharding binary provider roundRobin percentageFreeSpace 2 {{- range $sharedClaimNumber, $e := until (.Values.artifactory.persistence.fileSystem.existingSharedClaim.numberOfExistingClaims|int) -}} //For each sub-provider (mount), specify the filestore location filestore{{ $sharedClaimNumber }} {{- end }} {{- else }} crossNetworkStrategy crossNetworkStrategy {{ .Values.artifactory.persistence.redundancy }} 2 2 {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} shard-fs-1 local 30 tester-remote1 10000 remote {{- end }} {{- end }} {{- if or (eq .Values.artifactory.persistence.type "google-storage") (eq .Values.artifactory.persistence.type "google-storage-v2") (eq .Values.artifactory.persistence.type "google-storage-v2-direct") }} {{- if or (eq .Values.artifactory.persistence.type "google-storage") (eq .Values.artifactory.persistence.type "google-storage-v2") }} crossNetworkStrategy crossNetworkStrategy {{ .Values.artifactory.persistence.redundancy }} 2 {{- else if eq .Values.artifactory.persistence.type "google-storage-v2-direct" }} {{- end }} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{- if or (eq .Values.artifactory.persistence.type "google-storage") (eq .Values.artifactory.persistence.type "google-storage-v2") }} local 30 10000 remote {{- end }} {{- if .Values.artifactory.persistence.googleStorage.useInstanceCredentials }} true {{- else }} false {{- end }} {{ .Values.artifactory.persistence.googleStorage.enableSignedUrlRedirect }} google-cloud-storage {{ .Values.artifactory.persistence.googleStorage.endpoint }} {{ .Values.artifactory.persistence.googleStorage.httpsOnly }} {{ .Values.artifactory.persistence.googleStorage.bucketName }} {{ .Values.artifactory.persistence.googleStorage.path }} {{ .Values.artifactory.persistence.googleStorage.bucketExists }} {{- end }} {{- if or (eq .Values.artifactory.persistence.type "aws-s3-v3") (eq .Values.artifactory.persistence.type "s3-storage-v3-direct") (eq .Values.artifactory.persistence.type "s3-storage-v3-archive") }} {{- if eq .Values.artifactory.persistence.type "aws-s3-v3" }} {{- else if eq .Values.artifactory.persistence.type "s3-storage-v3-direct" }} {{- else if eq .Values.artifactory.persistence.type "s3-storage-v3-archive" }} {{- end }} {{- if eq .Values.artifactory.persistence.type "aws-s3-v3" }} crossNetworkStrategy crossNetworkStrategy {{ .Values.artifactory.persistence.redundancy }} remote local {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{- end }} {{- if eq .Values.artifactory.persistence.type "s3-storage-v3-direct" }} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{- end }} {{- with .Values.artifactory.persistence.awsS3V3 }} {{ .testConnection }} {{- if .identity }} {{ .identity }} {{- end }} {{- if .credential }} {{ .credential }} {{- end }} {{ .region }} {{ .bucketName }} {{ .path }} {{ .endpoint }} {{- with .port }} {{ . }} {{- end }} {{- with .useHttp }} {{ . }} {{- end }} {{- with .maxConnections }} {{ . }} {{- end }} {{- with .connectionTimeout }} {{ . }} {{- end }} {{- with .socketTimeout }} {{ . }} {{- end }} {{- with .kmsServerSideEncryptionKeyId }} {{ . }} {{- end }} {{- with .kmsKeyRegion }} {{ . }} {{- end }} {{- with .kmsCryptoMode }} {{ . }} {{- end }} {{- if .useInstanceCredentials }} true {{- else }} false {{- end }} {{ .usePresigning }} {{ .signatureExpirySeconds }} {{ .signedUrlExpirySeconds }} {{- with .cloudFrontDomainName }} {{ . }} {{- end }} {{- with .cloudFrontKeyPairId }} {{ . }} {{- end }} {{- with .cloudFrontPrivateKey }} {{ . }} {{- end }} {{- with .enableSignedUrlRedirect }} {{ . }} {{- end }} {{- with .enablePathStyleAccess }} {{ . }} {{- end }} {{- with .multiPartLimit }} {{ . | int64 }} {{- end }} {{- with .multipartElementSize }} {{ . | int64 }} {{- end }} {{- end }} {{- end }} {{- if or (eq .Values.artifactory.persistence.type "azure-blob") (eq .Values.artifactory.persistence.type "azure-blob-storage-direct") }} {{- if eq .Values.artifactory.persistence.type "azure-blob" }} {{- else if eq .Values.artifactory.persistence.type "azure-blob-storage-direct" }} {{- end }} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{- if eq .Values.artifactory.persistence.type "azure-blob" }} crossNetworkStrategy crossNetworkStrategy 2 1 remote local {{- end }} {{ .Values.artifactory.persistence.azureBlob.accountName }} {{ .Values.artifactory.persistence.azureBlob.accountKey }} {{ .Values.artifactory.persistence.azureBlob.endpoint }} {{ .Values.artifactory.persistence.azureBlob.containerName }} {{ .Values.artifactory.persistence.azureBlob.multiPartLimit | int64 }} {{ .Values.artifactory.persistence.azureBlob.multipartElementSize | int64 }} {{ .Values.artifactory.persistence.azureBlob.testConnection }} {{- end }} {{- if eq .Values.artifactory.persistence.type "azure-blob-storage-v2-direct" -}} {{ .Values.artifactory.persistence.maxCacheSize | int64 }} {{ .Values.artifactory.persistence.cacheProviderDir }} {{- if .Values.artifactory.persistence.maxFileSizeLimit }} {{.Values.artifactory.persistence.maxFileSizeLimit | int64}} {{- end }} {{- if .Values.artifactory.persistence.skipDuringUpload }} {{.Values.artifactory.persistence.skipDuringUpload}} {{- end }} {{ .Values.artifactory.persistence.azureBlob.accountName }} {{ .Values.artifactory.persistence.azureBlob.accountKey }} {{ .Values.artifactory.persistence.azureBlob.endpoint }} {{ .Values.artifactory.persistence.azureBlob.containerName }} {{ .Values.artifactory.persistence.azureBlob.multiPartLimit | int64 }} {{ .Values.artifactory.persistence.azureBlob.multipartElementSize | int64 }} {{ .Values.artifactory.persistence.azureBlob.testConnection }} {{- end }}