Skip to content

docs: Update how to generate tokens #4

docs: Update how to generate tokens

docs: Update how to generate tokens #4

### Instana GitHub action for GitOps update sample workflow
### This GitHub action workflow configures the Instana GitHub action for GitOps update
### that remotely triggers the update of the configuration of Instana host agents that
### are configured to use the Git-based Configuration Management capability. The selection
### of which agents to update is based on a combination of agent zone and tags.
### Installation: refer to https://github.com/instana/github-action-update-agent-configurations#setup
### For more information on the Instana GitHub action for GitOps update, refer to:
### https://github.com/instana/github-action-update-agent-configurations
name: Instana GitOps update - Prod
on:
push:
paths-ignore:
- 'renovate.json'
- 'README.md'
branches: [ test ]
jobs:
push-gitops-config:
runs-on: ubuntu-latest
steps:
- uses: instana/[email protected]
with:
# At least one of 'agent_zone' and 'agent_tags' should be set
agent_zone: gitops-demo
agent_tags: gitops_environment=test
env:
INSTANA_API_ENDPOINT: ${{ secrets.INSTANA_API_ENDPOINT }}
INSTANA_API_TOKEN: ${{ secrets.INSTANA_API_TOKEN }}