File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
ci/deploy-logging-dependencies/tasks Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 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+
110 - name : Create cluster log forwarder
211 ansible.builtin.shell :
312 cmd : |
615 - name : Wait for cluster log forwarder to be created
716 ansible.builtin.command :
817 cmd :
9- oc get clusterlogforwarder --namespace=openshift-logging instance
18+ oc get clusterlogforwarder --namespace=openshift-logging collector
1019 delay : 10
1120 retries : 20
1221 register : output
1524- name : Wait for the cluster log forwarder to be ready
1625 ansible.builtin.command :
1726 cmd : |
18- oc wait --timeout=300s --for condition=Ready=True --namespace=openshift-logging clusterlogforwarder instance
27+ oc wait --timeout=300s --for condition=Ready=True --namespace=openshift-logging clusterlogforwarder collector
You can’t perform that action at this time.
0 commit comments