Skip to content

fix(callback_role): support custom Kubernetes cluster domains#1195

Open
mdoulabi1 wants to merge 1 commit intozalando:triggerfrom
mdoulabi1:trigger
Open

fix(callback_role): support custom Kubernetes cluster domains#1195
mdoulabi1 wants to merge 1 commit intozalando:triggerfrom
mdoulabi1:trigger

Conversation

@mdoulabi1
Copy link
Copy Markdown

Replace hardcoded cluster.local with KUBERNETES_SERVICE_HOST env var.

Users can now set custom cluster domains like:

Fully backwards compatible - defaults to previous behavior.

Fixes: patroni could not patch pod labels on clusters with custom cluster domains.

Replace hardcoded cluster.local with KUBERNETES_SERVICE_HOST env var.

Users can now set custom cluster domains like:
- https://kubernetes.default.svc.cluster.bk1
- http://192.168.1.1:8443

Fully backwards compatible - defaults to previous behavior.

Fixes: patroni could not patch pod labels on clusters
with custom cluster domains.
@zalando-robot
Copy link
Copy Markdown

Cannot start a pipeline due to:

No accountable user for this pipeline: no Zalando employee associated to this GitHub username

Click on pipeline status check Details link below for more information.

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