15 Commits
v2.3.0 ... main

Author SHA1 Message Date
canterberry
803018a09d Merge pull request #182 from twuni/readme-install-via-gh-pages
Update README with repo migration notice
2025-11-03 20:19:48 +00:00
canterberry
8d4e020c42 Add repo migration and deprecation notice to README
This is a follow-up to the previous commit updating the repo URL.

In this commit, I have added a notice to the README intended for those experiencing chart install/update issues which will result from the eventual decommissioning of the old repo.

The goal of the notice is to provide an easy and convenient migration path to using the GitHub Pages repo currently in use as the primary distribution channel for this chart.
2025-09-10 05:28:03 +00:00
canterberry
43ed2639ed Update repo URL in README
GitHub Pages has been the primary distribution channel for this chart since March 2024. However, the repo URL in the README has not been updated accordingly.

I would like to decommission the https://helm.twun.io/ repo, but would prefer not to do so without sufficient notice to the community to update their repo URLs.

Updating the README is one necessary step toward this.
2025-09-10 05:15:59 +00:00
Joshua Sizer
ab431e8015 Merge pull request #178 from weisjohn/main
🏁 v3.0.0 Release
2025-07-29 13:15:22 -04:00
John Weis
8662c4fefb 🏁 v3.0.0 Release 2025-07-29 12:32:38 -04:00
Joshua Sizer
0f196d6227 Merge pull request #171 from TheAceMan/main
Add the ability to skip verifying the TLS cert for s3 storage
2025-06-28 01:06:15 -04:00
Joshua Sizer
4e6b389b56 Merge pull request #174 from twuni/dependabot/github_actions/marocchino/sticky-pull-request-comment-2.9.3
Bump marocchino/sticky-pull-request-comment from 2.9.2 to 2.9.3
2025-06-28 01:04:30 -04:00
dependabot[bot]
8ff170786c Bump marocchino/sticky-pull-request-comment from 2.9.2 to 2.9.3
Bumps [marocchino/sticky-pull-request-comment](https://github.com/marocchino/sticky-pull-request-comment) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/marocchino/sticky-pull-request-comment/releases)
- [Commits](67d0dec7b0...d2ad0de260)

---
updated-dependencies:
- dependency-name: marocchino/sticky-pull-request-comment
  dependency-version: 2.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 02:59:41 +00:00
Kevin Boisits
55527bf77c Fix spacing 2025-06-08 22:33:50 -05:00
Kevin Boisits
d344f36b94 Change name to match the config variable 2025-06-08 22:32:26 -05:00
Joshua Sizer
60cac04569 Merge pull request #168 from Clovel/feature/config-path
[Fixes #135] Updated chart to accept configPath to fix distribution's 3.0.0 breaking change
2025-06-08 11:09:14 -04:00
Kevin Boisits
8b8e96444e Add the ability to skip verifying the TLS cert for s3 storage
Allow using self signed cert on S3 storage used
2025-06-06 21:00:14 -05:00
Joshua Sizer
458381c746 Merge pull request #169 from TheAceMan/main
Add the ability to force path style for s3 storage
2025-06-06 21:29:35 -04:00
Kevin Boisits
ec1706762e Add the ability to force path style for s3 storage 2025-06-03 18:24:15 -05:00
Clovis Durand
e3a6eb45bf Updated chart to accept configPath to fix distribution's 3.0.0 breaking change
Signed-off-by: Clovis Durand <cd.clovel19@gmail.com>
2025-06-03 12:30:19 +02:00
7 changed files with 40 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ jobs:
echo 'HELM_DIFF<<EOF' >> $GITHUB_ENV
echo "$(diff -ur before after)" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- uses: marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db
- uses: marocchino/sticky-pull-request-comment@d2ad0de260ae8b0235ce059e63f2949ba9e05943
with:
message: |
Running a `helm template` smoketest on commit ${{ github.ref }} results in the following diff against `${{ github.base_ref }}`:

View File

@@ -1,8 +1,8 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 2.3.0
appVersion: 2.8.1
version: 3.0.0
appVersion: 3.0.0
home: https://hub.docker.com/_/registry/
icon: https://helm.twun.io/docker-registry.png
maintainers:

View File

@@ -12,12 +12,27 @@ This chart will do the following:
* Implement a Docker registry deployment
## ⚠️ Repo Migration and Deprecation Notice
The following change only affects attempts to install or update the chart via the https://helm.twun.io repo.
The https://helm.twun.io repo has been migrated to https://twuni.github.io/docker-registry.helm.
To update your configuration, remove and re-add the repo with the new URL:
```console
helm repo remove twuni
helm repo add twuni https://twuni.github.io/docker-registry.helm
```
The deprecated repo URL, https://helm.twun.io, may become unavailable as early as **October 16, 2025**.
## Installing the Chart
First, add the repo:
```console
helm repo add twuni https://helm.twun.io
helm repo add twuni https://twuni.github.io/docker-registry.helm
```
To install the chart, use the following:
@@ -79,12 +94,15 @@ their default values.
| `secrets.swift.password` | Password for Swift configuration | `nil` |
| `secrets.haSharedSecret` | Shared secret for Registry | `nil` |
| `configData` | Configuration hash for docker | `nil` |
| `configPath` | Configuration mount point in docker, `/etc/docker/registry` for registry version 2, `/etc/distribution` for version 3 | `/etc/docker/registry` |
| `s3.region` | S3 region | `nil` |
| `s3.regionEndpoint` | S3 region endpoint | `nil` |
| `s3.bucket` | S3 bucket name | `nil` |
| `s3.rootdirectory` | S3 prefix that is applied to allow you to segment data | `nil` |
| `s3.encrypt` | Store images in encrypted format | `nil` |
| `s3.secure` | Use HTTPS | `nil` |
| `s3.forcepathstyle` | Use path-style addressing, needed for some s3 compatible storage (minio) | `nil` |
| `s3.skipverify` | Allows connection to s3 storage using TLS with untrusted/self-signed certificate | `nil` |
| `swift.authurl` | Swift authurl | `nil` |
| `swift.container` | Swift container | `nil` |
| `proxy.enabled` | If true, registry will function as a proxy/mirror | `false` |

View File

@@ -103,6 +103,16 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
value: {{ .Values.s3.secure | quote }}
{{- end -}}
{{- if .Values.s3.forcepathstyle }}
- name: REGISTRY_STORAGE_S3_FORCEPATHSTYLE
value: {{ .Values.s3.forcepathstyle | quote }}
{{- end -}}
{{- if .Values.s3.skipverify }}
- name: REGISTRY_STORAGE_S3_SKIPVERIFY
value: {{ .Values.s3.skipverify | quote }}
{{- end -}}
{{- else if eq .Values.storage "swift" }}
- name: REGISTRY_STORAGE_SWIFT_AUTHURL
value: {{ required ".Values.swift.authurl is required" .Values.swift.authurl }}
@@ -148,7 +158,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
{{- define "docker-registry.volumeMounts" -}}
- name: "{{ template "docker-registry.fullname" . }}-config"
mountPath: "/etc/docker/registry"
mountPath: {{ .Values.configPath }}
{{- if .Values.secrets.htpasswd }}
- name: auth

View File

@@ -58,7 +58,7 @@ spec:
- /bin/registry
- garbage-collect
- --delete-untagged={{ .Values.garbageCollect.deleteUntagged }}
- /etc/docker/registry/config.yml
- {{ .Values.configPath }}/config.yml
{{- if .Values.garbageCollect.resources }}
resources:
{{- toYaml .Values.garbageCollect.resources | nindent 16 }}

View File

@@ -60,7 +60,7 @@ spec:
command:
- /bin/registry
- serve
- /etc/docker/registry/config.yml
- {{ .Values.configPath }}/config.yml
ports:
- containerPort: 5000
{{- if .Values.metrics.enabled }}

View File

@@ -19,7 +19,7 @@ serviceAccount:
image:
repository: registry
tag: 2.8.1
tag: 3.0.0
pullPolicy: IfNotPresent
# imagePullSecrets:
# - name: docker
@@ -104,6 +104,8 @@ secrets:
# rootdirectory: /object/prefix
# encrypt: false
# secure: true
# forcepathstyle: true
# skipverify: true
# Options for swift storage type:
# swift:
@@ -133,6 +135,7 @@ metrics:
labels: {}
rules: {}
configPath: /etc/distribution
configData:
version: 0.1
log:
@@ -176,6 +179,7 @@ securityContext:
fsGroupChangePolicy: Always
sysctls: []
supplementalGroups: []
runAsUser: 1000
fsGroup: 1000
priorityClassName: ""