-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Add extra configuration options to docker-registry #2801
Conversation
Hi @rendhalver. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
3abf0cb
to
4fbe963
Compare
@unguiculus This will get docker-registry into a state we can configure from the portus chart in #2766. |
This will allow us to override that storage easier. If this is in the configData map it will get merged into local overrides and the container doesn't boot.
@@ -24,3 +25,26 @@ persistentVolume: | |||
## | |||
storageClass: "-" | |||
annotations: {} | |||
|
|||
fqdn: registry.docker.example.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this to just be tlsSecretName
or something. It is only used for that at the moment and this may be confused with a setting for ingress.
s3: | ||
access-key: "" | ||
secret-key: "" | ||
configData: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add entries to the README on how these are used?
volumeMounts: | ||
- name: "{{ template "docker-registry.fullname" . }}-config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will TLS always be configured now? Is it worth putting this in an if block?
@@ -9,6 +9,7 @@ initImageVersion: latest | |||
registryImage: registry | |||
registryImageVersion: 2 | |||
tarballURL: | |||
filesystemStorage: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are other storage systems configured? Should this be:
storage: filesystem
I guess this now needs a rebase because #2612 got merged after I opened this. |
I might need to completely redo this PR. |
@viglesiasce I have redone this PR in #2926 |
I am mostly adding this so we can use it in the Portus chart I am submitting in #2766.
It will also allow people to configure their registry how they need it setup.