Skip to content

Commit

Permalink
Merge pull request #577 from hms-dbmi-cellenics/orca-cspm
Browse files Browse the repository at this point in the history
init orca cspm
  • Loading branch information
alexvpickering authored Sep 11, 2024
2 parents a942f67 + 1a494d1 commit de2b74f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,25 @@ jobs:
kubectl apply -f infra/datadog/datadog-sidecar-rbac.yaml
fi
- id: setup-orca-cspm
name: Setup ORCA CSPM
run: |-
if [[ -n "${{ secrets.ORCA_TUNNEL_ID }}" ]];
then
helm upgrade --install orca-tunnel \
--namespace orca-security --create-namespace \
oci://public.ecr.aws/orcasecurity/helm-k8s-tunnel \
--set tunnelAddr=tunnel.production.us-east-1.orcasecurity.net \
--set tunnelId="${{ secrets.ORCA_TUNNEL_ID }}" \
--set tunnelToken="${{ secrets.ORCA_TUNNEL_TOKEN }}" \
--set clusterName="biomage-$CLUSTER_ENV" \
--set cloudVendorId="${{ secrets.AWS_ACCOUNT_ID }}" \
--set region="${{ secrets.AWS_REGION }}" \
--set clusterType=eks
else
echo "ORCA_TUNNEL_ID missing, skipping ORCA CSPM setup."
fi
- id: login-ecr
name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v1
Expand Down

0 comments on commit de2b74f

Please sign in to comment.