Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nosniff in config.yml #94

Open
gleupold opened this issue Jan 30, 2023 · 0 comments
Open

nosniff in config.yml #94

gleupold opened this issue Jan 30, 2023 · 0 comments

Comments

@gleupold
Copy link

gleupold commented Jan 30, 2023

Hi,

while investigating, delete is "unsupported" although we set:

delete:
  enabled: true

we noticed in:
/etc/docker/registry/config.yml

health:
  storagedriver:
    enabled: true
    interval: 10s
    threshold: 3
http:
  addr: :5000
  debug:
    addr: :5001
    prometheus:
      enabled: true
      path: /metrics
  headers:
    X-Content-Type-Options:
    - nosniff
log:
  fields:
    service: registry
storage:
  cache:
    blobdescriptor: inmemory
  delete:
    enabled: true
  maintenance:
    uploadpurging:
      age: 168h
      dryrun: false
      enabled: true
      interval: 24h
version: 0.1

that nosniff looks wrong?
Shouldnt the http headers look like this:
headers: X-Content-Type-Options: [nosniff]
We expect the "toYaml" in

{{ toYaml .Values.configData | indent 4 }}

to issue that but dont know how to fix it. Or does it work as expected?

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant