ancient-wolf-19325
07/23/2024, 6:27 AMrbac:
create: true
extraRules:
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- create
- get
- list
- patch
- update
- apiGroups: ["<http://admissionregistration.k8s.io|admissionregistration.k8s.io>"]
resources: ["mutatingwebhookconfigurations/finalizers"]
verbs: ["update"]
- apiGroups: [""]
resources: ["finalizers"]
verbs: ["update"]
serviceAccount:
create: true
namespace: eric-mlops
# Answer
Your values.yaml configuration for rbac and serviceAccount looks mostly correct. However, there are a few points to consider:
1. Ensure that the apiGroups and resources fields are correctly formatted.
2. Verify that the serviceAccount section is properly indented and includes necessary annotations if required.
Here's a refined version of your `values.yaml`:
rbac:
create: true
extraRules:
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- create
- get
- list
- patch
- update
- apiGroups:
- "admissionregistration.k8s.io"
resources:
- "mutatingwebhookconfigurations/finalizers"
verbs:
- "update"
- apiGroups:
- ""
resources:
- "finalizers"
verbs:
- "update"
serviceAccount:
create: true
namespace: eric-mlops
Make sure to run helm upgrade after updating the values.yaml file to apply the changes.
Would you like more details on any specific part of the configuration?
Sources:
- Flyte Helm Configuration
- Flyte RBAC Configuration
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1721716009.573059 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.