53 Commits
Author SHA1 Message Date
Joshua SizerandGitHub 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
Kevin Boisits d344f36b94 Change name to match the config variable 2025-06-08 22:32:26 -05:00
Joshua SizerandGitHub 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
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
Mercbot7andGitHub 9bba24a3d2 reorder merge for proper preference 2025-04-15 09:09:43 -04:00
Mercbot7andGitHub d6224c847b refactor logic for lapels and annotations and fix resources 2025-04-14 15:02:51 -04:00
Mercbot7andGitHub e73d9e85c4 Update gargagecollect cronjob
This adds podLabels and podAnnotations to the cronjob job pod and defaults them to the root podLabels and podAnnotations.
2025-04-14 09:20:19 -04:00
Andrew Lavery 680310df11 add the ability to specify labels for the registry service
Signed-off-by: Andrew Lavery <laverya@umich.edu>
2024-06-04 01:53:34 +08:00
Andrey Baznikin d1cce3992a Allow to specify resources block for garbage-collector 2024-04-26 15:25:54 +04:00
Joshua SizerandGitHub 808510d274 Merge pull request #106 from ChevronTango/main
Adding Deployment Annotations
2024-03-15 17:13:04 -04:00
Edward Brough c7d3bc3b42 adding deployment annotations
Signed-off-by: Edward Brough <edward.brough@gmail.com>
2024-03-15 17:25:42 +00:00
VyasandGitHub 7d16b3c57b Merge pull request #114 from ddelange/patch-3
Fix backwards compatibility for k8s 1.24
2024-03-08 09:49:40 -06:00
erikfuego ed0a778281 Add missing fields for Security context and secrets 2024-03-04 12:36:40 -05:00
ddelange 9193ce0ae8 Bump chart version
This reverts commit 345f178c44ab853fb603dab5bba6c58eae3e954b.
2024-01-04 10:49:33 +01:00
ddelange 38acafc680 Fix backwards compatibility for k8s 1.24 2024-01-04 10:20:25 +01:00
Stefan Andres fc2ab7e7ac Migrate PodDisruptionBudget policy/v1beta1 to policy/v1
In k8s 1.25 policy/v1beta1 is no longer served, migrate to policy/v1.

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25
2022-12-13 15:58:54 +01:00
Michael Blickenstorfer 55647356c5 fix #73 2022-08-18 12:20:21 +02:00
Devin CanterberryandGitHub 1315fc281e Merge pull request #65 from canterberry/namespaced-service-account
🐞 Add missing namespace to ServiceAccount
2022-08-17 11:50:50 -07:00
ddelange b4b319496c Fix more indentations 2022-08-10 10:08:13 +02:00
ddelange 52a5d4ba15 Fix extraEnvVars indentation, remove env whitespaces 2022-08-10 09:05:50 +02:00
ddelange fb2132a0c7 PR Suggestions 2022-08-08 10:57:43 +02:00
ddelange d78c010ca5 Revert "Make the changes additive"
This reverts commit fd7fdcaa44.
2022-08-05 14:11:37 +02:00
ddelange fd7fdcaa44 Make the changes additive 2022-08-05 14:04:37 +02:00
Devin Canterberry a1cd36f55e 🐞 Add missing namespace to ServiceAccount
When `serviceAccount.create` is `true`, this chart creates
a service account. Currently, that service account will be
created without an explicit namespace. This can be problematic
because the Deployment resource does have an explicit namespace
set. Because the ServiceAccount and Deployment (ultimately, the
Pod) must coexist in the same namespace, we need to follow the
same logic when setting the namespace for both.

Fixes https://github.com/twuni/docker-registry.helm/issues/60.
2022-07-27 23:50:13 -07:00
ddelange 29a0863ee2 Merge branch 'main' of https://github.com/twuni/docker-registry.helm into garbage-collector
Includes moving additions to demployment.yaml to _helpers.tpl ref https://github.com/twuni/docker-registry.helm/compare/v1.13.0...v2.1.0

* 'main' of https://github.com/twuni/docker-registry.helm: (22 commits)
  Updated README with initContainers value
  Add initContainer support
  🏁 v2.1.0 Release
  Added support for autoscaling using hpa
  🏁 v2.0.1 Release
  🌐 make protocol selection work with istio
  fix(templates): Add checksum on secret.yaml file
  🏁 v2.0.0 Release
  Fix #19 (new kubernetes API version)
  🏁 v1.16.0 Release
  Conditionally create service account and add to deployment
  🏁 v1.15.0 Release
  Support deployment to a namespace
  Updated typo to enable(d)
  🏁 v1.14.0 Release
  Enable metrics via Prometheus Operator
  Support additional env variables
  🏁 v1.13.2 Release
  Add support for S3 bucket to prefix all data
  🏁 v1.13.1 Release
  ...
2022-06-24 09:31:37 +02:00
Devin CanterberryandGitHub f158323875 Merge pull request #40 from g-linville/initContainer
Add initContainer support
2022-04-14 17:04:43 -07:00
Grant Linville 0b6729f21d Add initContainer support 2022-04-14 10:27:29 -04:00
SimonRupar c91c8139c5 Added support for autoscaling using hpa 2022-02-01 20:45:03 +01:00
Devin CanterberryandGitHub 4b5531d4ef Merge pull request #49 from Eriwyr/patch-1
fix(templates): Add checksum on secret.yaml file
2022-01-30 19:22:42 -08:00
Justin Sievenpiper 5d738bd9e7 🌐 make protocol selection work with istio 2022-01-27 15:20:49 -08:00
CHABRIER ValentinandGitHub 98bdab8c45 fix(templates): Add checksum on secret.yaml file
Too bad it's lacking a check in addition to the config that the secret file has not changed too in the deployment :)
2022-01-07 16:53:46 +01:00
Travis LoydandAndrew 266b0ea8d8 Fix #19 (new kubernetes API version)
This is a signed squash of unsigned commits made by both
Andrew <andrew@egeler.us> and Travis Loyd <fun.tloyd@gmail.com>. It is a
slight cleanup of Travis Loyd's PR #27

Travis Loyd <fun.tloyd@gmail.com>:
* Fix for issue number 19, current api version and previous api version need to be updated
* Added helm if statement to handle previous ingress 'http paths' style and current 'http paths' style
* adjusted helm if statement to accomidate scoping by setting as a variable up top
* moved new apiVersion variable to the top just under check for ingress enabled
* added ingressClassName and set a default value of 'nginx' in the values file

Andrew <andrew@egeler.us>:
* PR Change Cleanup
  * rename $apiVersion to $apiVersions
  * rename ingress.ingressClassName to ingress.className
  * add documentation entry for ingress.className
* fix README default value
2022-01-02 14:57:12 -05:00
Simon Emms 2b24174cea Conditionally create service account and add to deployment
Signed-off-by: Simon Emms <simon@simonemms.com>
2021-12-07 11:54:11 +00:00
Devin CanterberryandGitHub 6305476063 Merge pull request #37 from SimonRupar/main
Enable metrics via Prometheus Operator
2021-12-05 22:25:32 -08:00
Simon EmmsandSimon Emms 851575797a Support deployment to a namespace
Signed-off-by: Simon Emms <simon@simonemms.com>
2021-12-05 15:21:31 +00:00
SimonRupar f38b9b4a58 Enable metrics via Prometheus Operator 2021-10-14 17:11:09 +02:00
Vincent Van Ouytsel 4c49800452 Support additional env variables 2021-10-13 09:32:25 +02:00
SimonRupar 7076faea33 Add support for S3 bucket to prefix all data 2021-09-30 20:20:14 +02:00
Devin CanterberryandGitHub 932a31b2fa Merge pull request #25 from pavankumar-go/patch-1
Add keys proxyUsername and proxyPassword with empty string to docker-registry-secret if values are not set
2021-09-26 23:48:24 -07:00
pavankumar-go 88528289cf uses default function instead of if-else condition 2021-09-27 11:30:06 +05:30
Vladimir Kuznichenkov a95a3480c6 Garbage collector job to keep registry tiny
We don't have unlimited storage, and we would like to run built-in garbage collector to keep storage usage low.
2021-09-18 12:40:25 +03:00
Vladimir Kuznichenkov 944cf7eb62 Use a single style of indents
`nindent` function insert fist newline before actual content and allow you use it on any level of yaml without breaking visual structure.
2021-09-18 12:34:57 +03:00
Vladimir Kuznichenkov 2726d10083 Move common sections to defined template to prevent code duplication
Cronjob should have the same env variables and volumes to proceed correctly
2021-09-18 12:33:43 +03:00
Pavan KumarandGitHub d412af5f95 Add keys proxyUsername and proxyPassword with empty string
Setting up docker-registry proxy with no password & username created the secret to be created without `proxyUsername` and `proxyPassword` fields, causing pod to fail if `proxy.enabled = true` with error 
```
error: "couldn't find key proxyUsername in Secret <namespace>/docker-registry-secret"
```
2021-08-26 18:44:03 +05:30
Joao Andrade 45daca1981 Add support for external s3 secrets 2021-08-09 12:13:07 +01:00
Joao Andrade 5a68bb595a Add support for external proxy secrets 2021-08-04 11:13:58 +01:00
Jesse Horner 51c6e55ddb add support for registry proxy 2021-06-11 12:07:48 -04:00
Martin MauchandGitHub cbb527450d Port name is http or https plus port 2021-02-03 23:24:16 +01:00