Skip to content
Snippets Groups Projects
Commit d2528f58 authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

Checkov Findings and Gitlab Helm Chart Deploy Variables

parent d3039b78
No related branches found
No related tags found
1 merge request!265Aws Helm Chart Checkov Fixes
Pipeline #138289 failed
variables: variables:
AWS_BUILD_SUBDIR: provider/notification-aws/build-aws AWS_BUILD_SUBDIR: provider/notification-aws/build-aws
AWS_TEST_SUBDIR: testing/notification-test-aws AWS_TEST_SUBDIR: testing/notification-test-aws
AWS_CHART_SUBDIR: devops/aws/chart
AWS_SERVICE: notification AWS_SERVICE: notification
AWS_SERVICE_GATEWAY: osdu-gateway
AWS_ENVIRONMENT: dev AWS_ENVIRONMENT: dev
AWS_DEPLOY_TARGET: EKS AWS_DEPLOY_TARGET: EKS
AWS_EKS_DEPLOYMENT_NAME: os-notification AWS_EKS_DEPLOYMENT_NAME: os-notification
......
# Service Config # Service Config
image: __CONTAINER__ image: __CONTAINER__
imagePullPolicy: IfNotPresent imagePullPolicy: Always
service: service:
type: ClusterIP type: ClusterIP
port: 8080 port: 8080
...@@ -27,7 +27,8 @@ environmentVariables: ...@@ -27,7 +27,8 @@ environmentVariables:
value: "http://os-entitlements:8080" value: "http://os-entitlements:8080"
- name: REGISTER_BASE_URL - name: REGISTER_BASE_URL
value: http://os-register:8080 value: http://os-register:8080
podAnnotations: {} podAnnotations:
seccomp.security.alpha.kubernetes.io/pod: "runtime/default"
# Resource Config # Resource Config
replicaCount: 1 replicaCount: 1
...@@ -60,13 +61,15 @@ cors: ...@@ -60,13 +61,15 @@ cors:
- Data-Partition-Id - Data-Partition-Id
- Correlation-Id - Correlation-Id
- Content-Type - Content-Type
securityContext: {} securityContext:
# capabilities: runAsUser: 10001
# drop: runAsNonRoot: true
# - ALL readOnlyRootFilesystem: false
# readOnlyRootFilesystem: true allowPrivilegeEscalation: false
# runAsNonRoot: true capabilities:
# runAsUser: 1000 drop:
- ALL
allowedPrincipals: allowedPrincipals:
- cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account - cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
- cluster.local/ns/aws-binary-dms/sa/binary-dms - cluster.local/ns/aws-binary-dms/sa/binary-dms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment