The opa-bundle-builder-clusterrole is never bound
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- helm, kubernetes, rust
- Área
- authorization, infrastructure
Línea de trabajo
Comienza con deploy/helm/opa-operator/templates/clusterrole-opa-builder.yaml y luego sigue la configuración de la cuenta de servicio de bundle-builder en el código del operador. Confirma que el builder utiliza su propia cuenta de servicio y que este ClusterRole está vinculado, y actualiza los comentarios relacionados de pull request #820. Se considera terminado cuando el builder ya no hereda los permisos de la cuenta de servicio del operador.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected Stackable version
Any (at least up until and including SDP 26.3)
Affected OpenPolicyAgent version
N/A
Current and expected behavior
Currently, the bundle-builder uses the operator service account, and therefore inherits operator permissions.
It should use it's own service account and be bound to the ClusterRole defined in deploy/helm/opa-operator/templates/clusterrole-opa-builder.yaml so it has only the necessary permissions to perform its function.
Possible solution
- Drop the unused ClusterRole
- Adjust the operator code so that the bundle-builder ClusterRole is used.
Option 2 is probably better, because it at least shows what is needed by the bundle-builder - and allows for architectural changes (like the bundle builder running outside of the OPA cluster pod if that was ever a possibility).
In either case, the comments in https://github.com/stackabletech/opa-operator/pull/820/changes/5dc06dbca2365f9c2957f74318d8f722e972e0d2 will need to be updated.
Additional context
Originally found here: https://github.com/stackabletech/opa-operator/pull/820#discussion_r3062985546
Environment
No response
Would you like to work on fixing this bug?
maybe
- Lenguaje dominante
- Rust
- Estrellas
- 21
- Forks
- 5
- Merge medio
- 12 h 44 min
- PR fusionados (30 d)
- 11
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stackabletech/opa-operator
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
stackabletech/opa-operator#766 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
stackabletech/opa-operator#733 ·
-
User Info Fetcher: Document data differences between backends, and/or how to query it manually Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 50/100
stackabletech/opa-operator#724 ·
-
type/bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
stackabletech/opa-operator#718 ·
-
Active Directory: `userInfoById` returns undefined for backend if LDAP group request times out Abiertotype/bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
stackabletech/opa-operator#690 ·
Todos los issues de stackabletech/opa-operator
Issues similares
-
risk:low runtime status:in-progress type:test
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
EricSpencer00/Resilient#4835 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
bisq-network/bisq-musig#204 ·
-
agent:ready documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
cesarferreira/stax#890 ·