Skip to content
Snippets Groups Projects

Fixing AWS helm deploy of OPA

Merged Marc Burnie [AWS] requested to merge marcburnie-master-patch-55995 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -21,7 +21,7 @@ aws-update-helm:
- sed -i "s|__HELM_REPO__/osdu-aws-lib/|$AWS_HELM_REPO|" devops/aws/opa/Chart.yaml
- helm dependency update devops/aws/opa
- helm upgrade opa devops/aws/opa/ -i -n ${AWS_SERVICE_NAMESPACE:-osdu-services} --set global.resourcePrefix=$RESOURCE_PREFIX --set global.region=$AWS_REGION --set-string global.accountID=$AWS_ACCOUNT_ID --set global.policyBucket=$POLICY_BUCKET --set global.allowOrigins=$ALLOWED_ORIGINS --set global.gatewayName=$GATEWAY --set global.cacheClusterEndpoint=${CACHE_CLUSTER_ENDPOINT} --set global.cacheClusterPort=${CACHE_CLUSTER_PORT} --set global.cacheClusterKey=${CACHE_CLUSTER_KEY} --set "partitions={osdu,opendes,int-test-policy,int-test-storage,performance-test}"
- helm upgrade opa-agent devops/aws/opa/ -i -n ${AWS_SERVICE_NAMESPACE:-osdu-services} --set global.resourcePrefix=$RESOURCE_PREFIX --set global.region=$AWS_REGION --set-string global.accountID=$AWS_ACCOUNT_ID --set global.policyBucket=$POLICY_BUCKET --set global.allowOrigins=$ALLOWED_ORIGINS --set global.gatewayName=$GATEWAY --set global.cacheClusterEndpoint=${CACHE_CLUSTER_ENDPOINT} --set global.cacheClusterPort=${CACHE_CLUSTER_PORT} --set global.cacheClusterKey=${CACHE_CLUSTER_KEY} --set "partitions={osdu,opendes,int-test-policy,int-test-storage,performance-test}"
- helm dependency update $CHART_DIR
- helm upgrade $AWS_EKS_DEPLOYMENT_NAME $CHART_DIR/ -i -n ${AWS_SERVICE_NAMESPACE:-osdu-services} --set global.resourcePrefix=$RESOURCE_PREFIX --set global.region=$AWS_REGION --set-string global.accountID=$AWS_ACCOUNT_ID --set global.policyBucket=$POLICY_BUCKET --set global.allowOrigins=$ALLOWED_ORIGINS --set global.gatewayName=$GATEWAY --set global.cacheClusterEndpoint=${CACHE_CLUSTER_ENDPOINT} --set global.cacheClusterPort=${CACHE_CLUSTER_PORT} --set global.cacheClusterKey=${CACHE_CLUSTER_KEY}
Loading