We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7086f commit 17f10d6Copy full SHA for 17f10d6
ci/deploy-logging-dependencies/tasks/deploy-cluster-logging.yml
@@ -1,3 +1,12 @@
1
+- name: Create the SA and apply the right permissions
2
+ ansible.builtin.shell:
3
+ cmd: |
4
+ oc create sa collector -n openshift-logging
5
+ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z collector -n openshift-logging
6
+ oc adm policy add-cluster-role-to-user collect-application-logs -z collector -n openshift-logging
7
+ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector -n openshift-logging
8
+ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging
9
+
10
- name: Create cluster log forwarder
11
ansible.builtin.shell:
12
cmd: |
0 commit comments