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

Explain references in custom-headers documentation #4082

Merged
merged 1 commit into from
May 14, 2019
Merged

Explain references in custom-headers documentation #4082

merged 1 commit into from
May 14, 2019

Conversation

ellieayla
Copy link
Contributor

What this PR does / why we need it:

Link the two example yaml files, so they're more easily navigated to from a browser looking at https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/

Campfire: grammar, standard installation is in the ingress-nginx namespace, explain the purpose of the two configmaps, making explicit that one cites the other by namespace/name.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

No issue.

Special notes for your reviewer:

Many places in the docs (eg https://kubernetes.github.io/ingress-nginx/examples/customization/external-auth-headers/ and https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/) describe commands interacting with (yaml) files in the repo. Very frequently these files are cited by relative paths (eg kubectl create -f deploy/) or absolute urls (eg https://raw.githubusercontent.com/kub….). The lack of links to the yaml files (or lack of a current working directory) make them annoying to read in the markdown-rendered-to-html view on https://kubernetes.github.io/

How do you feel about more PRs like this which add (probably relative) links to the yaml files in the markdown?

Augment description of custom-headers behavior. Explain the purpose of the two configmaps, making explicit that one cites the other by `namespace/name`. Link the two example yaml files, so they're more easily navigated to from a browser looking at https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/

Campfire: grammar, standard installation is in the `ingress-nginx` namespace.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 13, 2019
@aledbf
Copy link
Member

aledbf commented May 14, 2019

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 14, 2019
@aledbf
Copy link
Member

aledbf commented May 14, 2019

@alanjcastonguay thanks!

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alanjcastonguay, aledbf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2019
@k8s-ci-robot k8s-ci-robot merged commit 677ea4d into kubernetes:master May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants