diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b77576c459f7949703b4c1e15dfe19d515449207..9f144efdd0f72abd6b20818982310e14795a898d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,9 @@ variables: AWS_BUILD_SUBDIR: provider/storage-aws/build-aws AWS_TEST_SUBDIR: testing/storage-test-aws + AWS_CHART_SUBDIR: devops/aws/chart AWS_SERVICE: storage + AWS_SERVICE_GATEWAY: osdu-gateway AWS_ENVIRONMENT: dev AWS_DEPLOY_TARGET: EKS AWS_EKS_DEPLOYMENT_NAME: os-storage diff --git a/devops/aws/chart/values.yaml b/devops/aws/chart/values.yaml index 9a594ac600dc681a47bd593e9cb5d7994ada74a1..1c59325a15b80b0ddf26e97982ddddb2c00707b2 100644 --- a/devops/aws/chart/values.yaml +++ b/devops/aws/chart/values.yaml @@ -1,6 +1,6 @@ # Service Config image: __CONTAINER__ -imagePullPolicy: IfNotPresent +imagePullPolicy: Always service: type: ClusterIP port: 8080 @@ -58,7 +58,8 @@ environmentVariables: value: "true" - name: PARAMETER_MOUNT_PATH value: "/mnt/params" -podAnnotations: {} +podAnnotations: + seccomp.security.alpha.kubernetes.io/pod: "runtime/default" # Resource Config maxConnections: 200 @@ -93,13 +94,15 @@ cors: - Data-Partition-Id - Correlation-Id - Content-Type -securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 +securityContext: + runAsUser: 10001 + runAsNonRoot: true + readOnlyRootFilesystem: false + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + allowedPrincipals: - cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account - cluster.local/ns/{{ .Release.Namespace }}/sa/compliance-queue