Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Add ready check for webhook server #224

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

acumino
Copy link
Contributor

@acumino acumino commented Apr 4, 2022

How to categorize this PR?

/area open-source
/kind enhancement
/platform vsphere

What this PR does / why we need it:
The PR adds ready check for webhook server. The ready check wait for 10 sec for webhook server to be ready, otherwise throws error.

Which issue(s) this PR fixes:
Part of gardener/gardener#4772

Special notes for your reviewer:

Release note:

NONE

@acumino acumino requested review from a team as code owners April 4, 2022 04:55
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Apr 4, 2022
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Apr 4, 2022
@acumino acumino added area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension platform/vsphere VMware vSphere platform/infrastructure labels Apr 4, 2022
@gardener-robot gardener-robot added the needs/review Needs review label Apr 4, 2022
Copy link
Contributor

@MartinWeindel MartinWeindel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Apr 4, 2022
@MartinWeindel MartinWeindel merged commit a82474f into gardener-attic:main Apr 4, 2022
Copy link
Contributor

@briantopping briantopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also squash commits, thanks for your contribution!

@@ -46,6 +46,19 @@ spec:
{{- if .Values.global.kubeconfig }}
- --kubeconfig=/etc/gardener-extension-validator-vsphere/kubeconfig/kubeconfig
{{- end }}
- --health-bind-address=:{{ .Values.global.healthPort }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -44,6 +44,7 @@ spec:
- --webhook-config-server-port={{ .Values.webhookConfig.serverPort }}
- --disable-controllers={{ .Values.disableControllers | join "," }}
- --disable-webhooks={{ .Values.disableWebhooks | join "," }}
- --health-bind-address=:{{ .Values.healthPort }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) platform/vsphere VMware vSphere platform/infrastructure reviewed/lgtm Has approval for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants