Add Sysdig Team on a Schedule or Manually #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.developer.gov.bc.ca/sysdig-monitor-setup-team/ | |
name: Add Sysdig Team on a Schedule or Manually | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
add-sysdig-team: | |
runs-on: ubuntu-22.04 | |
environment: tools | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add Sysdig Team | |
run: | | |
oc login --token=${{ secrets.oc_token }} --server=${{ vars.oc_server }} | |
oc project db4642-tools # Safeguard! | |
oc apply -f ./sysdig/sysdig.yml | |