32 Commits

Author SHA1 Message Date
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
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 Canterberry
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 Canterberry
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 Valentin
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 Loyd
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 Canterberry
6305476063 Merge pull request #37 from SimonRupar/main
Enable metrics via Prometheus Operator
2021-12-05 22:25:32 -08:00
Simon 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 Canterberry
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 Kumar
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 Mauch
cbb527450d Port name is http or https plus port 2021-02-03 23:24:16 +01:00
Martin Mauch
829c10f509 Rename port to match Istio naming conventions
Istio requires the service port to be named like `<protocol>[-<suffix>]`.
If possible, it would be good to rename it here to match this requirement.
2021-01-27 00:24:19 +01:00
Niklas Wagner
a830d2eb17 Support for Session Affinity option in service template 2020-12-01 15:47:20 +01:00
Devin Canterberry
c042cda0b9 🌱 Initial commit copied from stable/docker-registry
This commit establishes a baseline from the upstream stable/docker-registry chart
at commit b4912cc150ba284c3f593879ed04916a100d0ae6, browseable at
b4912cc150

The goal of this repo is to take over maintenance of this Helm chart and publish
it to Artifact Hub for the general public to use in lieu of the deprecated
stable/docker-registry chart.
2020-11-13 16:53:22 -08:00