Conversation
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
# Conflicts: # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Static Webhook
Current Aviator status
This pull request is currently open (not queued). How to mergeTo merge this PR, comment
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
# Conflicts: # charts/dataplane/templates/_helpers.tpl # charts/dataplane/values.yaml # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
| Get the webhook secret name | ||
| */}} | ||
| {{- define "flytepropellerwebhook.secretName" -}} | ||
| flyte-pod-webhook |
There was a problem hiding this comment.
| flyte-pod-webhook | |
| union-pod-webhook |
or something that doesn't clash with the Flyte OSS one. Whenever a customer needs to run Union and Flyte OSS in the same namespace, this will make deployment fail
There was a problem hiding this comment.
Why can't these be installed in separate namespaces?
There was a problem hiding this comment.
it can, but we have customers who only have permissions for a single namespace
There was a problem hiding this comment.
same here, this conflicts with Flyte OSS one
There was a problem hiding this comment.
ditto, separate namespaces? the only thing that's cluster-wide is the MutatingWebhookConfiguration object for which I added "-org" in the name
There was a problem hiding this comment.
| name: union-pod-webhook |
|
I just tested this without overriding the default config for webhook certs and got this from a V2 execution that calls a secret |
# Conflicts: # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
# Conflicts: # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure-custom-storage-prefix.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml # tests/values/dataplane.fully-selfhosted.yaml
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
…ommonServiceAccount` helper and `commonServiceAccount` values to consolidate operator, executor, proxy, webhook, and fluentbit service accounts into a single shared ServiceAccount (`union-system`). Automatically enabled in singleNamespace mode. Separate RBAC role/binding names from ServiceAccount names to allow shared SA with distinct permissions.
# Conflicts: # charts/dataplane/templates/operator/configmap.yaml # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure-custom-storage-prefix.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
| @@ -0,0 +1,12 @@ | |||
| {{- if include "useCommonServiceAccount" . }} | |||
There was a problem hiding this comment.
This is great.
Should we also include buildkit so it uses this SA? Or in the light of exploring alternatives to buildkit that is not needed now?
@EngHabu
There was a problem hiding this comment.
I think buildkit doesn't need explicit cloud role (IAM, GKA... etc.), right? I mainly wanted to get rid of having to bind a gazillion KSAs to the same Cloud Role because you have no idea what each one is for...
BTW, this also includes (and enables by default for low-priv) depot.dev.... Let me know if you want to test that..
…ildkitUri` is set before enabling Depot for image building.
# Conflicts: # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure-custom-storage-prefix.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
# Conflicts: # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure-custom-storage-prefix.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
Enable action metrics in low-priv environments
# Conflicts: # charts/dataplane/Chart.yaml # charts/dataplane/templates/_helpers.tpl # charts/dataplane/templates/monitoring/prometheusrule.yaml # charts/dataplane/templates/monitoring/servicemonitor.yaml # charts/dataplane/templates/nodeexecutor/service.yaml # charts/dataplane/values.yaml # tests/generated/dataplane.additional-podlabels.yaml # tests/generated/dataplane.aws.eks-automode.yaml # tests/generated/dataplane.aws.with-ingress.yaml # tests/generated/dataplane.aws.yaml # tests/generated/dataplane.azure-custom-storage-prefix.yaml # tests/generated/dataplane.azure.yaml # tests/generated/dataplane.cost.yaml # tests/generated/dataplane.dcgm-exporter.yaml # tests/generated/dataplane.fully-selfhosted.yaml # tests/generated/dataplane.low-priv.yaml # tests/generated/dataplane.nodeobserver.yaml # tests/generated/dataplane.oci.yaml
…unt in imagebuilder templates. Update buildkit deployment and serviceaccount to use the new helper and skip dedicated SA creation when useCommonServiceAccount is enabled. Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
…ildkit-specific SA annotations. Add imagePullSecrets support to commonServiceAccount. Add additionalServiceAccountAnnotations to dataplane values. Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Summary
helm installwith 3 options:unionservice account and aPodTemplateso all tasks run with that service account.executor, and webhook templates — eliminating ~40 lines of manual overrides from values-low-privilege.yaml
MutatingWebhookConfiguration with namespace scoping in low-priv mode
Test plan
main