Notice: file_put_contents(): Write of 18740 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50
Библиотека девопса | DevOps, SRE, Sysadmin@devopsslib P.3431
DEVOPSSLIB Telegram 3431
Управление доступом в Argo CD с ArgoCD RBAC Operator

Argo CD — мощный инструмент для GitOps, но настройка доступа может быть сложной. Используем ArgoCD RBAC Operator, чтобы автоматизировать управление ролями и разрешениями.

1️⃣ Установите ArgoCD RBAC Operator

kubectl apply -f https://raw.githubusercontent.com/example/argocd-rbac-operator/install.yaml


2️⃣ Определите роли и права

apiVersion: rbac.argocd.dev/v1alpha1
kind: ArgoCDRole
metadata:
name: dev-team
spec:
policies:
- action: get
resource: applications
scope: projects/dev


3️⃣ Назначаем роли пользователям

apiVersion: rbac.argocd.dev/v1alpha1
kind: ArgoCDUser
metadata:
name: user1
spec:
roles:
- dev-team


4️⃣ Проверяем доступ

argocd account can-i get applications --as user1

Если настройка корректна, пользователь получит соответствующие права.

💡 Попробовали этот оператор? Поделитесь опытом в комментариях! ⬇️

🐸Библиотека devops'a #буст
Please open Telegram to view this post
VIEW IN TELEGRAM
👍41🔥1👾1



tgoop.com/devopsslib/3431
Create:
Last Update:

Управление доступом в Argo CD с ArgoCD RBAC Operator

Argo CD — мощный инструмент для GitOps, но настройка доступа может быть сложной. Используем ArgoCD RBAC Operator, чтобы автоматизировать управление ролями и разрешениями.

1️⃣ Установите ArgoCD RBAC Operator

kubectl apply -f https://raw.githubusercontent.com/example/argocd-rbac-operator/install.yaml


2️⃣ Определите роли и права

apiVersion: rbac.argocd.dev/v1alpha1
kind: ArgoCDRole
metadata:
name: dev-team
spec:
policies:
- action: get
resource: applications
scope: projects/dev


3️⃣ Назначаем роли пользователям

apiVersion: rbac.argocd.dev/v1alpha1
kind: ArgoCDUser
metadata:
name: user1
spec:
roles:
- dev-team


4️⃣ Проверяем доступ

argocd account can-i get applications --as user1

Если настройка корректна, пользователь получит соответствующие права.

💡 Попробовали этот оператор? Поделитесь опытом в комментариях! ⬇️

🐸Библиотека devops'a #буст

BY Библиотека девопса | DevOps, SRE, Sysadmin




Share with your friend now:
tgoop.com/devopsslib/3431

View MORE
Open in Telegram


Telegram News

Date: |

Judge Hui described Ng as inciting others to “commit a massacre” with three posts teaching people to make “toxic chlorine gas bombs,” target police stations, police quarters and the city’s metro stations. This offence was “rather serious,” the court said. Add up to 50 administrators How to create a business channel on Telegram? (Tutorial) Add the logo from your device. Adjust the visible area of your image. Congratulations! Now your Telegram channel has a face Click “Save”.! During a meeting with the president of the Supreme Electoral Court (TSE) on June 6, Telegram's Vice President Ilya Perekopsky announced the initiatives. According to the executive, Brazil is the first country in the world where Telegram is introducing the features, which could be expanded to other countries facing threats to democracy through the dissemination of false content.
from us


Telegram Библиотека девопса | DevOps, SRE, Sysadmin
FROM American