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

feat(kuma-cp) central place for creating defaults #1017

Merged
merged 5 commits into from
Sep 15, 2020

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

Since on the horizon, I see creating default TrafficPermission / TrafficRoute I created a module for creating default values. For now we create there Mesh and Signing Key for Dataplane Tokens.

Previously we were creating a Mesh using Namespace Reconciller. Now there is a central place for creating defaults for both K8S and Universal.

I added retries for the Mesh #882 so on Kubernetes we won't see initial errors (visible only on Debug level).

Issues resolved

Fix #882

Documentation

  • No docs, Internal only.

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@jakubdyszkiewicz jakubdyszkiewicz requested a review from a team as a code owner September 11, 2020 09:20
pkg/defaults/components.go Outdated Show resolved Hide resolved
pkg/defaults/components.go Outdated Show resolved Hide resolved
pkg/defaults/components_test.go Outdated Show resolved Hide resolved
pkg/defaults/mesh.go Outdated Show resolved Hide resolved
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@jakubdyszkiewicz jakubdyszkiewicz merged commit 20e0c4c into master Sep 15, 2020
@jakubdyszkiewicz jakubdyszkiewicz deleted the feat/defaults branch September 15, 2020 10:36
nickolaev pushed a commit that referenced this pull request Oct 1, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
# Conflicts:
#	app/kuma-cp/cmd/run.go
#	pkg/core/bootstrap/bootstrap.go
#	pkg/tokens/builtin/issuer/signing_key.go

Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
nickolaev pushed a commit that referenced this pull request Oct 1, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
# Conflicts:
#	app/kuma-cp/cmd/run.go
#	pkg/core/bootstrap/bootstrap.go
#	pkg/tokens/builtin/issuer/signing_key.go
nickolaev pushed a commit that referenced this pull request Oct 5, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
# Conflicts:
#	app/kuma-cp/cmd/run.go
#	pkg/core/bootstrap/bootstrap.go
#	pkg/tokens/builtin/issuer/signing_key.go
nickolaev pushed a commit that referenced this pull request Oct 5, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
# Conflicts:
#	app/kuma-cp/cmd/run.go
#	pkg/core/bootstrap/bootstrap.go
#	pkg/tokens/builtin/issuer/signing_key.go
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.

Webhooks / Defaulter for default Mesh
3 participants