Skip to content

Commit

Permalink
Update webhook-disable.md (#5598)
Browse files Browse the repository at this point in the history
* Update webhook-disable.md

Per Customer:
Step 9 is missing the “files” line (I added line 3 to show):

stages:
  reconcile:
   - files
      - name: "Redirect registries"
         - path: /etc/containerd/certs.d/gcr.io/hosts.toml
           owner: 0
           group: 0
           permissions: 0644
           content: |-
             server = "https://gcr.io"
             [host."https://gcr-io-mirror.company.local"]
                 capabilities = ["pull", "resolve"]

* Update docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/webhook-disable.md

* Update webhook-disable.md

* docs: fix indentation

---------

Co-authored-by: Adelina Simion <[email protected]>
Co-authored-by: Lenny Chen <[email protected]>
Co-authored-by: Lenny Chen <[email protected]>
(cherry picked from commit 967d313)
  • Loading branch information
hausmckinney committed Feb 12, 2025
1 parent 4ecb771 commit 7412ca4
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,17 @@ provides an example that shows how you might customize the image pull behavior o

```yaml {9-11}
stages:
reconcile:
- name: "Redirect registries"
- path: /etc/containerd/certs.d/gcr.io/hosts.toml
owner: 0
group: 0
permissions: 0644
content: |-
server = "https://gcr.io"
[host."https://gcr-io-mirror.company.local"]
capabilities = ["pull", "resolve"]
reconcile:
- name: "Redirect registries"
files:
- path: /etc/containerd/certs.d/gcr.io/hosts.toml
owner: 0
group: 0
permissions: 0644
content: |-
server = "https://gcr.io"
[host."https://gcr-io-mirror.company.local"]
capabilities = ["pull", "resolve"]
```

### Provide Registry Credentials
Expand Down

0 comments on commit 7412ca4

Please sign in to comment.