Repository navigation
docs: stop referencing the ingress-controller deployment.yaml - #2342
Merged
Merged
Conversation
The generated deployment.yaml is being removed from pomerium/ingress-controller (pomerium/ingress-controller#1500). Three kustomization examples in the k8s install guide referenced it by raw URL; they now use config/default as a remote base, matching the convention the rest of the page already uses. Also bumps the ingress-controller refs in the k8s docs from 0-32-0 to 0-33-0, adds a table of the available kustomizations, and fixes two pre-existing inaccuracies found while verifying the examples: the default-IngressClass snippet pointed at patch-proxy-external-dns.yaml instead of its own patch file, and the base installation summary omitted the IngressClass.
✅ Deploy Preview for pomerium-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Greptile SummaryThis PR retires documentation references to the ingress-controller’s generated
Confidence Score: 5/5The documentation changes appear safe to merge, with no concrete changed-code-triggered failures identified. The updated references consistently target ingress-controller 0-33-0, the remote-base examples align with the documented installation resources and patch targets, and no accepted blocking or non-blocking defect remains.
|
| Filename | Overview |
|---|---|
| content/docs/deploy/k8s/install.md | Replaces retired flat-manifest references with remote kustomize bases, documents deployment variants, and corrects existing customization examples without an identified changed-code defect. |
| content/docs/deploy/k8s/gateway-api.mdx | Updates the Gateway API installation command to the ingress-controller 0-33-0 ref consistently. |
| content/docs/deploy/k8s/quickstart.mdx | Updates the quickstart installation command to 0-33-0 while retaining output consistent with the documented default installation. |
Reviews (1): Last reviewed commit: "docs: stop referencing the ingress-contr..." | Re-trigger Greptile
kenjenkins
approved these changes
Aug 5, 2026
wasaga
added a commit
to pomerium/ingress-controller
that referenced
this pull request
Aug 5, 2026
Closes #1500. `deployment.yaml` was the committed output of `kustomize build config/default`, added back when `kubectl` had no built-in kustomize support. `kubectl apply -k` has covered that for many releases. ## Migration ```diff -kubectl apply -f https://raw.githubusercontent.com/pomerium/ingress-controller/0-33-0/deployment.yaml +kubectl apply -k github.com/pomerium/ingress-controller/config/default?ref=0-33-0 ``` ## Compatibility Version branches (`0-32-0`, `0-33-0`) and all existing tags still contain `deployment.yaml`, so anyone pinned to a release keeps working. Only `main`, and therefore future releases, drops it. ## Follow-up Docs PR removing the last three raw-URL references: pomerium/documentation#2342
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs side of pomerium/ingress-controller#1500 — pairs with pomerium/ingress-controller#1501, which removes the file.
Why
The generated
deployment.yamlat the root ofpomerium/ingress-controlleris being retired. It was the committed output ofkustomize build config/default, added whenkubectlhad no built-in kustomize support. Three kustomization examples on the k8s install page still referenced it by raw URL.Changes
Replaced the raw-URL references (
install.md, 3 occurrences) with the remote-base form the rest of the page already used:Bumped ingress-controller refs
0-32-0→0-33-0across the k8s docs:install.md(Deploy, Envoy admin),quickstart.mdx,gateway-api.mdx.Added a "Deployment variants" section to
install.md— part of the argument for droppingdeployment.yamlis that a single flat manifest could only ever representconfig/default, whileconfig/offers eight installable kustomizations. The table lists them with what each one changes.Rewrote the
kustomize buildnote in the base-installation summary. It previously told you to runkustomize build config/default"in the repo", which assumed a local clone; it now builds against the remote ref, so it works standalone and still serves anyone who genuinely needs a flat manifest.Two pre-existing bugs fixed along the way
Both surfaced while verifying the examples actually build:
IngressClasssnippet listedpatches: - path: patch-proxy-external-dns.yamlwhile displaying apatch-ingress-class.yamlfile — copy/paste from the section above. Following it as written applied the external-DNS annotation instead of the default-class annotation.pomeriumIngressClass— despite a later section on making it the cluster default.I also renamed the Multiple Replicas patch file from
deployment.yamltopatch-replicas.yaml, matching thepatch-*.yamlconvention used by the neighbouring examples (and no longer colliding in name with the file being retired).Verification
Every kustomization example on the page was built with kustomize v5.8.1 against
ref=0-33-0, and the resulting objects checked — not just eyeballed:config/defaultexternal-dns.alpha.kubernetes.io/hostnamepresent onpomerium-proxyreplicas: 2on thepomeriumDeploymentIngressClassis-default-class: "true"present (confirmed the base emitsIngressClasswith no namespace, so matching on name alone is correct)--debug-admin-addr=localhost:9901appended to argsAll eight variants in the new table build at
ref=0-33-0, and each claim was checked against the output:default-no-crd/clustered-databroker-no-crdemit 0 CRDs,gateway-apiemits aGatewayClassplus--experimental-gateway-api,clustered-databrokeremits aStatefulSetandpomerium-headlessService and no Deployment,sshemits--ssh-addr=:4022and container port 4022, and both http3 variants emit a UDPquicport with the expectedloadBalancerClass.gateway-api.mdx's claim that the GatewayClass is namedpomerium-gatewayalso still holds at 0-33-0.oxfmt --checkpasses on all three files.Notes for the reviewer
content/docs/deploy/k8s/sync-api.mdx:47andk8s/core/kustomization.yaml:5pin the ingress-controller to?ref=main. I left both alone sincemainmay be deliberate there, but they're inconsistent with the pinning advice this page now gives.content/docs/deploy/enterprise/install.mdxstill pinspomerium/documentationoverlays to0-31-0. Unrelated to the ingress-controller, so out of scope here.config/gateway-apiemitsnamespace: pomeriumon the cluster-scopedGatewayClass. Harmless — the API server ignores it — butIngressClasscorrectly has no namespace, because kustomize knows that type is cluster-scoped and cannot know the same about a CRD.