Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1alpha1/argocdprojectrole_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ArgoCDProjectRoleSpec struct {

// Rules define the desired set of permissions.
type ProjectRule struct {
// +kubebuilder:validation:Enum=clusters;applications;repositories;logs;exec;projects
// +kubebuilder:validation:Enum=clusters;applications;applicationsets;repositories;logs;exec;projects
// +kubebuilder:validation:example=applications
// Target resource type.
Resource string `json:"resource"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ spec:
enum:
- clusters
- applications
- applicationsets
- repositories
- logs
- exec
Expand Down
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rules:
- get
- list
- patch
- watch
- apiGroups:
- rbac-operator.argoproj-labs.io
resources:
Expand Down
8 changes: 4 additions & 4 deletions helm/argocd-rbac-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ metadata:
name: test-project-role-binding
namespace: test-ns
spec:
argocdProjectRoleRef:
argocdProjectRoleRef:
name: test-project-role
subjects:
- appProjectRef: test-appproject-1
Expand Down Expand Up @@ -273,7 +273,7 @@ After the deletion of the Role or RoleBinding, the Role will also be deleted in
| containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"quay.io/argoprojlabs/argocd-rbac-operator"` | |
| image.tag | string | `"v0.1.6"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| livenessProbe.httpGet.path | string | `"/healthz"` | |
| livenessProbe.httpGet.port | int | `8081` | |
Expand All @@ -282,7 +282,6 @@ After the deletion of the Role or RoleBinding, the Role will also be deleted in
| namespace.create | bool | `true` | |
| namespace.nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| tolerations | object | `[]` | |
| readinessProbe.httpGet.path | string | `"/readyz"` | |
| readinessProbe.httpGet.port | int | `8081` | |
| readinessProbe.initialDelaySeconds | int | `5` | |
Expand All @@ -295,6 +294,7 @@ After the deletion of the Role or RoleBinding, the Role will also be deleted in
| securityContext.runAsNonRoot | bool | `true` | |
| securityContext.seccompProfile.type | string | `"RuntimeDefault"` | |
| serviceAccountAnnotations | list | `[]` | |
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
1 change: 1 addition & 0 deletions helm/argocd-rbac-operator/templates/manager_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rules:
- get
- list
- patch
- watch
- apiGroups:
- rbac-operator.argoproj-labs.io
resources:
Expand Down
5 changes: 3 additions & 2 deletions helm/argocd-rbac-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ argocd:
cmName: argocd-rbac-cm

# Specify the Operator container image to use for the deployment.
# For example, the following sets the image to the ``quay.io/argoprojlabs/argocd-rbac-operator`` repo and the v0.1.8 tag.
# For example, the following sets the image to the ``quay.io/argoprojlabs/argocd-rbac-operator`` repo.
# The container pulls the image if not already present
image:
repository: quay.io/argoprojlabs/argocd-rbac-operator
tag: v0.1.9
# Overrides the global tag whose default is the chart appVersion
tag: ""
pullPolicy: IfNotPresent

# An array of additional annotations to be applied to the operator service account
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/argocdprojectrolebinding_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ArgoCDProjectRoleBindingReconciler struct {
// +kubebuilder:rbac:groups=rbac-operator.argoproj-labs.io,resources=argocdprojectrolebindings/finalizers,verbs=*
// +kubebuilder:rbac:groups=rbac-operator.argoproj-labs.io,resources=argocdprojectroles,verbs=get;list
// +kubebuilder:rbac:groups=rbac-operator.argoproj-labs.io,resources=argocdprojectroles/status,verbs=get;list;update
// +kubebuilder:rbac:groups=argoproj.io,resources=appprojects,verbs=get;list;patch
// +kubebuilder:rbac:groups=argoproj.io,resources=appprojects,verbs=get;list;patch;watch

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down
Loading