Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ jobs:
with:
# Run GitOps in dry-run mode for pull requests.
dry-run-only: ${{ github.event_name == 'pull_request' && 'true' || 'false' }}
# Add FLEET_URL and FLEET_API_TOKEN to the repository secrets.
# Add the environment variables below to the repository secrets.
# In addition, specify or add secrets for all the environment variables that are mentioned in the global/team YAML files.
env:
FLEET_URL: ${{ secrets.FLEET_URL }}
FLEET_API_TOKEN: ${{ secrets.FLEET_API_TOKEN }}
FLEET_DEDICATED_DEVICES_ENROLL_SECRET: ${{ secrets.FLEET_DEDICATED_DEVICES_ENROLL_SECRET }}
FLEET_EMPLOYEE_ISSUED_MOBILE_DEVICES_ENROLL_SECRET: ${{ secrets.FLEET_EMPLOYEE_ISSUED_MOBILE_DEVICES_ENROLL_SECRET }}
FLEET_IT_SERVERS_ENROLL_SECRET: ${{ secrets.FLEET_IT_SERVERS_ENROLL_SECRET }}
FLEET_PERSONAL_MOBILE_DEVICES_ENROLL_SECRET: ${{ secrets.FLEET_PERSONAL_MOBILE_DEVICES_ENROLL_SECRET }}
FLEET_URL: ${{ secrets.FLEET_URL }}
FLEET_WORKSTATIONS_ENROLL_SECRET: ${{ secrets.FLEET_WORKSTATIONS_ENROLL_SECRET }}


2 changes: 1 addition & 1 deletion teams/dedicated-devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ controls:
software:
team_settings:
secrets:
- secret: "REPLACE_WITH_ENVIRONMENT_VARIABLE_1" # Learn how: https://fleetdm.com/guides/secrets-in-scripts-and-configuration-profiles#gitops
- secret: "$FLEET_DEDICATED_DEVICES_ENROLL_SECRET"
2 changes: 1 addition & 1 deletion teams/employee-issued-mobile-devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ controls:
software:
team_settings:
secrets:
- secret: "REPLACE_WITH_ENVIRONMENT_VARIABLE_2" # Learn how: https://fleetdm.com/guides/secrets-in-scripts-and-configuration-profiles#gitops
- secret: "$FLEET_EMPLOYEE_ISSUED_MOBILE_DEVICES_ENROLL_SECRET"
2 changes: 1 addition & 1 deletion teams/it-servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ controls:
software:
team_settings:
secrets:
- secret: "REPLACE_WITH_ENVIRONMENT_VARIABLE_4" # Learn how: https://fleetdm.com/guides/secrets-in-scripts-and-configuration-profiles#gitops
- secret: "$FLEET_IT_SERVERS_ENROLL_SECRET"
2 changes: 1 addition & 1 deletion teams/personal-mobile-devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ controls:
software:
team_settings:
secrets:
- secret: "REPLACE_WITH_ENVIRONMENT_VARIABLE_3" # Learn how: https://fleetdm.com/guides/secrets-in-scripts-and-configuration-profiles#gitops
- secret: "$FLEET_PERSONAL_MOBILE_DEVICES_ENROLL_SECRET"
2 changes: 1 addition & 1 deletion teams/workstations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ controls:
software:
team_settings:
secrets:
- secret: "REPLACE_WITH_ENVIRONMENT_VARIABLE_5" # Learn how: https://fleetdm.com/guides/secrets-in-scripts-and-configuration-profiles#gitops
- secret: "$FLEET_WORKSTATIONS_ENROLL_SECRET"
Loading