-
Notifications
You must be signed in to change notification settings - Fork 59
Pod Mutating Webhook & Secret Annotation Injector #241
Conversation
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
… into lyft-to-flyteorg
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
… into lyft-to-flyteorg
@@ -0,0 +1,208 @@ | |||
package cmd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets put a top level docs for the intent of this cmd?
@@ -0,0 +1,158 @@ | |||
package cmd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another package comment?
if err != nil { | ||
return pluginsCore.UnknownTransition, err | ||
} | ||
|
||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflict?
@@ -0,0 +1,66 @@ | |||
package k8s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs on the top?
@@ -0,0 +1,197 @@ | |||
package webhook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely need docs here
I do not know whats the best way to do this, but we should have a general flow somewhere for secrets, maybe in the readme? that Propeller will inject secret proto into annotations and then the injector will actually add the secrets to every pod |
too many conflicts... starting a new branch |
TL;DR
Add a Pod Mutating WebHook cmd for flytepropeller. The current setup only implements a secrets injector that can either inject secrets available to FlytePropeller or k8s secrets.
Type
Are all requirements met?
Complete description
flytepropeller webhook init-certs
command issues a CA/Cert/PrivateKey and store them into a secret given a secret nameflytepropeller webhook
creates a MutatingWebhookConfigration object in etcd., a webhook server and registers it with API Server. From there:inject-flyte-secrets: true
.inject-flyte-secrets: true
to CRDs if the task has secrets in its TaskTemplate.Tracking Issue
flyteorg/flyte#800