Skip to content

Commit

Permalink
chore: Fix roles for OpenLDAP setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nastacio committed Apr 12, 2022
1 parent 0189860 commit 03cef69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/cloudpaks/cp4s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
namespace: "{{.Values.metadata.argocd_app_namespace}}"
rules:
- apiGroups: [""]
resources: ["pods/exec", "secrets", "serviceaccounts", "services"]
resources: ["namespaces", "pods", "pods/exec", "secrets", "serviceaccounts", "services"]
verbs: ["get", "list", "create", "update", "patch", "delete"]
- apiGroups: ["apps"]
resources: ["deployments"]
Expand Down
7 changes: 0 additions & 7 deletions config/cloudpaks/cp4s/templates/resources/220-openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ spec:
- name: config
image: quay.io/openshift/origin-cli:latest
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "64Mi"
cpu: "150m"
limits:
memory: "128Mi"
cpu: "200m"
env:
- name: TARGET_NAMESPACE
value: {{.Values.metadata.argocd_app_namespace}}
Expand Down

0 comments on commit 03cef69

Please sign in to comment.