Skip to content

Commit

Permalink
install odigos in openshift
Browse files Browse the repository at this point in the history
  • Loading branch information
esara committed May 11, 2024
1 parent 3377155 commit 87da6fe
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ helm upgrade --install odigos odigos/odigos --namespace odigos-system --create-n
kubectl label namespace odigos-system odigos.io/system-object="true"
```

### Managing SCCs in OpenShift for Odigos

```console
oc adm policy add-scc-to-group anyuid system:serviceaccounts:odigos-system
oc adm policy add-scc-to-user privileged -z odiglet -n odigos-system
oc adm policy add-scc-to-user privileged -z odigos-data-collection -n odigos-system
```

### Upgrade Existing Odigos Installation

```console
Expand Down
30 changes: 13 additions & 17 deletions charts/odigos/templates/autoscaler/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,29 @@ metadata:
name: odigos-autoscaler
rules:
- apiGroups:
- odigos.io
- ""
resources:
- instrumentedapplications
- configmaps
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- odigos.io
resources:
- instrumentedapplications/finalizers
verbs:
- update
- apiGroups:
- odigos.io
- apps
resources:
- instrumentedapplications/status
- daemonsets
- deployments
verbs:
- get
- patch
- update
- list
- watch
- apiGroups:
- odigos.io
resources:
- instrumentedapplications
- collectorsgroups
- odigosconfigurations
- destinations
- processors
verbs:
Expand All @@ -47,13 +41,15 @@ rules:
- odigos.io
resources:
- collectorsgroups/finalizers
- instrumentedapplications/finalizers
- destinations/finalizers
verbs:
- update
- apiGroups:
- odigos.io
resources:
- collectorsgroups/status
- instrumentedapplications/status
- destinations/status
verbs:
- get
Expand Down Expand Up @@ -104,4 +100,4 @@ rules:
verbs:
- get
- list
- watch
- watch
8 changes: 8 additions & 0 deletions charts/odigos/templates/odiglet/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ rules:
- get
- list
- watch
- apiGroups:
- apps
resources:
- daemonsets/finalizers
- deployments/finalizers
- statefulsets/finalizers
verbs:
- update
- apiGroups:
- apps
resources:
Expand Down

0 comments on commit 87da6fe

Please sign in to comment.