Skip to content

Commit 0f196d6

Browse files
authored
Merge pull request twuni#171 from TheAceMan/main
Add the ability to skip verifying the TLS cert for s3 storage
2 parents 4e6b389 + 55527bf commit 0f196d6

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ their default values.
8787
| `s3.encrypt` | Store images in encrypted format | `nil` |
8888
| `s3.secure` | Use HTTPS | `nil` |
8989
| `s3.forcepathstyle` | Use path-style addressing, needed for some s3 compatible storage (minio) | `nil` |
90+
| `s3.skipverify` | Allows connection to s3 storage using TLS with untrusted/self-signed certificate | `nil` |
9091
| `swift.authurl` | Swift authurl | `nil` |
9192
| `swift.container` | Swift container | `nil` |
9293
| `proxy.enabled` | If true, registry will function as a proxy/mirror | `false` |

templates/_helpers.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
108108
value: {{ .Values.s3.forcepathstyle | quote }}
109109
{{- end -}}
110110

111+
{{- if .Values.s3.skipverify }}
112+
- name: REGISTRY_STORAGE_S3_SKIPVERIFY
113+
value: {{ .Values.s3.skipverify | quote }}
114+
{{- end -}}
115+
111116
{{- else if eq .Values.storage "swift" }}
112117
- name: REGISTRY_STORAGE_SWIFT_AUTHURL
113118
value: {{ required ".Values.swift.authurl is required" .Values.swift.authurl }}

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ secrets:
105105
# encrypt: false
106106
# secure: true
107107
# forcepathstyle: true
108+
# skipverify: true
108109

109110
# Options for swift storage type:
110111
# swift:

0 commit comments

Comments
 (0)