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

kuma-cp: add k8s Admission Web Hook to apply defaults to Mesh resources #297

Merged
merged 2 commits into from
Oct 1, 2019

Conversation

yskopets
Copy link
Contributor

@yskopets yskopets commented Sep 26, 2019

changes:

  • implement k8s Admission WebHook to apply defaults to Mesh resources, such as built-in CA
  • register k8s Admission WebHook Server using RuntimePlugin
  • update kumactl install control-plane respectively

@yskopets yskopets added this to the 0.2.0 milestone Sep 26, 2019
@yskopets yskopets force-pushed the feature/k8s-admission-webhook branch 3 times, most recently from bd5c521 to eb63537 Compare September 27, 2019 11:24
xdsServer:
grpcPort: 0
diagnosticsPort: %d
diagnosticsPort: %%d
Copy link
Contributor

Choose a reason for hiding this comment

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

How does it work? What does double % mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

% escapes another %, so %%d will become %d after passing thorugh fmt.Sprintf

address:
# Port the Admission WebHook Server should be listening on
port: 5443
# Directory with a TLS cert and private key for the Admission WebHook Server
Copy link
Contributor

Choose a reason for hiding this comment

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

How about keeping comments the same as in code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@yskopets yskopets changed the base branch from feature/introduce-runtime-plugin to feature/default-mesh-on-k8s September 27, 2019 12:55
@yskopets yskopets changed the base branch from feature/default-mesh-on-k8s to master October 1, 2019 11:57
@yskopets yskopets merged commit dddc209 into master Oct 1, 2019
@yskopets yskopets deleted the feature/k8s-admission-webhook branch October 23, 2019 09:56
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.

None yet

2 participants