Skip to content

Commit 8b8e964

Browse files
committed
Add the ability to skip verifying the TLS cert for s3 storage
Allow using self signed cert on S3 storage used
1 parent 458381c commit 8b8e964

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
@@ -86,6 +86,7 @@ their default values.
8686
| `s3.encrypt` | Store images in encrypted format | `nil` |
8787
| `s3.secure` | Use HTTPS | `nil` |
8888
| `s3.forcepathstyle` | Use path-style addressing, needed for some s3 compatible storage (minio) | `nil` |
89+
| `s3.insecureSkipVerify` | Allows connection to s3 storage using TLS with untrusted/self-signed certificate | `nil` |
8990
| `swift.authurl` | Swift authurl | `nil` |
9091
| `swift.container` | Swift container | `nil` |
9192
| `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.insecureSkipVerify }}
112+
- name: REGISTRY_STORAGE_S3_SKIPVERIFY
113+
value: {{ .Values.s3.insecureSkipVerify | 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+
# insecureSkipVerify: true
108109

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

0 commit comments

Comments
 (0)