Skip to content

docs: stop referencing the ingress-controller deployment.yaml - #2342

Merged
wasaga merged 1 commit into
mainfrom
retire-ic-deployment-yaml
Aug 5, 2026
Merged

wasaga merged 1 commit into
mainfrom
retire-ic-deployment-yaml

Conversation

@wasaga

@wasaga wasaga commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Docs side of pomerium/ingress-controller#1500 — pairs with pomerium/ingress-controller#1501, which removes the file.

Why

The generated deployment.yaml at the root of pomerium/ingress-controller is being retired. It was the committed output of kustomize build config/default, added when kubectl had 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:

 resources:
-  - https://raw.githubusercontent.com/pomerium/ingress-controller/0-32-0/deployment.yaml
+  - github.com/pomerium/ingress-controller/config/default?ref=0-33-0

Bumped ingress-controller refs 0-32-0 → 0-33-0 across 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 dropping deployment.yaml is that a single flat manifest could only ever represent config/default, while config/ offers eight installable kustomizations. The table lists them with what each one changes.

Rewrote the kustomize build note in the base-installation summary. It previously told you to run kustomize 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:

  • The default-IngressClass snippet listed patches: - path: patch-proxy-external-dns.yaml while displaying a patch-ingress-class.yaml file — copy/paste from the section above. Following it as written applied the external-DNS annotation instead of the default-class annotation.
  • The base installation summary enumerated 7 created resources but omitted the pomerium IngressClass — despite a later section on making it the cluster default.

I also renamed the Multiple Replicas patch file from deployment.yaml to patch-replicas.yaml, matching the patch-*.yaml convention 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:

Example Result
Base config/default builds; 18 objects
External-DNS external-dns.alpha.kubernetes.io/hostname present on pomerium-proxy
Multiple Replicas replicas: 2 on the pomerium Deployment
Default IngressClass is-default-class: "true" present (confirmed the base emits IngressClass with no namespace, so matching on name alone is correct)
Expose Envoy Admin --debug-admin-addr=localhost:9901 appended to args

All 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-crd emit 0 CRDs, gateway-api emits a GatewayClass plus --experimental-gateway-api, clustered-databroker emits a StatefulSet and pomerium-headless Service and no Deployment, ssh emits --ssh-addr=:4022 and container port 4022, and both http3 variants emit a UDP quic port with the expected loadBalancerClass. gateway-api.mdx's claim that the GatewayClass is named pomerium-gateway also still holds at 0-33-0.

oxfmt --check passes on all three files.

Notes for the reviewer

  • content/docs/deploy/k8s/sync-api.mdx:47 and k8s/core/kustomization.yaml:5 pin the ingress-controller to ?ref=main. I left both alone since main may be deliberate there, but they're inconsistent with the pinning advice this page now gives.
  • content/docs/deploy/enterprise/install.mdx still pins pomerium/documentation overlays to 0-31-0. Unrelated to the ingress-controller, so out of scope here.
  • Unrelated to this PR, but worth flagging upstream: config/gateway-api emits namespace: pomerium on the cluster-scoped GatewayClass. Harmless — the API server ignores it — but IngressClass correctly has no namespace, because kustomize knows that type is cluster-scoped and cannot know the same about a CRD.

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.
@netlify

netlify Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pomerium-docs ready!

Name Link
🔨 Latest commit 9fdba14
🔍 Latest deploy log https://app.netlify.com/projects/pomerium-docs/deploys/6a7297898dcc650009e7260a
😎 Deploy Preview https://deploy-preview-2342--pomerium-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@greptile-apps

greptile-apps Bot commented Aug 5, 2026

Copy link
Copy Markdown

Greptile Summary

This PR retires documentation references to the ingress-controller’s generated deployment.yaml and moves Kubernetes examples to version-pinned remote kustomize bases.

  • Updates ingress-controller references from 0-32-0 to 0-33-0.
  • Documents eight supported deployment variants.
  • Corrects the default IngressClass patch example and installation resource summary.
  • Renames the replicas patch example and adds a standalone remote render command.

Confidence Score: 5/5

The 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.

Important Files Changed

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

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
@wasaga
wasaga merged commit 5084f03 into main Aug 5, 2026
8 checks passed
@wasaga
wasaga deleted the retire-ic-deployment-yaml branch August 5, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants