You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: deployment/kubernetes/charts/resc-database/templates/database_service.yaml
+2
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ metadata:
7
7
labels:
8
8
app: {{ .Values.global.appName }}
9
9
tier: ms-database
10
+
annotations:
11
+
datree.skip/SERVICE_INCORRECT_TYPE_VALUE_NODEPORT: irrelevant as its only exposed for local environment and can be enabled/disabled from env specific values.yaml
Copy file name to clipboardexpand all lines: deployment/kubernetes/charts/resc-rabbitmq/templates/rabbitmq_service.yaml
+2
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ metadata:
6
6
labels:
7
7
app: {{ .Values.global.appName }}
8
8
tier: rabbitmq
9
+
annotations:
10
+
datree.skip/SERVICE_INCORRECT_TYPE_VALUE_NODEPORT: irrelevant as its only exposed for local environment and can be enabled/disabled from env specific values.yaml
9
11
spec:
10
12
{{ if and (eq .Values.global.enableInClusterRabbitMqMgmt "true") (.Values.rabbitMQ.exposeAmqpToHostPort) (.Values.rabbitMQ.exposeToHostPort)}}
Copy file name to clipboardexpand all lines: deployment/kubernetes/charts/resc-redis/templates/redis_service.yaml
+2
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ metadata:
6
6
labels:
7
7
app: {{ .Values.global.appName }}
8
8
tier: redis
9
+
annotations:
10
+
datree.skip/SERVICE_INCORRECT_TYPE_VALUE_NODEPORT: irrelevant as its only exposed for local environment and can be enabled/disabled from env specific values.yaml
9
11
spec:
10
12
{{ if and (eq .Values.global.enableInClusterRedis "true") (.Values.redis.exposeToHostPort)}}
Copy file name to clipboardexpand all lines: deployment/kubernetes/charts/resc-vcs-scraper-repositories/templates/vcs_scraper_repositories_deployment.yaml
messageOnFailure: Incorrect value for key `host` - specify host instead of using a wildcard character ("*")
8
8
#- identifier: CONTAINERS_MISSING_IMAGE_VALUE_VERSION # Not applicable to RESC
9
-
# messageOnFailure: Incorrect value for key `image` - specify an image version to avoid unpleasant "version surprises" in the future
10
-
- identifier: DEPLOYMENT_MISSING_LABEL_ENV_VALUE
11
-
messageOnFailure: 'Missing label object `env` - add a proper environment description (e.g. "prod", "testing", etc.) to the Deployment config'
9
+
# messageOnFailure: Incorrect value for key `image` - specify an image version to avoid unpleasant "version surprises" in the future
10
+
#- identifier: DEPLOYMENT_MISSING_LABEL_ENV_VALUE # Not applicable to RESC
11
+
#messageOnFailure: 'Missing label object `env` - add a proper environment description (e.g. "prod", "testing", etc.) to the Deployment config'
12
12
- identifier: CONTAINERS_MISSING_CPU_REQUEST_KEY
13
13
messageOnFailure: Missing property object `requests.cpu` - value should be within the accepted boundaries recommended by the organization
14
14
- identifier: CRONJOB_INVALID_SCHEDULE_VALUE
@@ -25,12 +25,12 @@ policies:
25
25
messageOnFailure: Incorrect value for key `hostPID` - running on the host’s PID namespace enables access to sensitive information from processes running outside the container
26
26
- identifier: K8S_DEPRECATED_APIVERSION_1.16
27
27
messageOnFailure: Incorrect value for key `apiVersion` - the version you are trying to use is not supported by the Kubernetes cluster version (>=1.16)
messageOnFailure: 'Incorrect value for key `image` - add a digest tag (starts with `@sha256:`) to represent an immutable version of the image'
28
+
#- identifier: CONTAINERS_MISSING_IMAGE_VALUE_DIGEST # Not applicable to RESC, version tag is better and we don't want to update our Kubernetes manifests with image digest tag on everytime we public a image
29
+
#messageOnFailure: 'Incorrect value for key `image` - add a digest tag (starts with `@sha256:`) to represent an immutable version of the image'
messageOnFailure: Incorrect value for key `hostIPC` - running on the host’s IPC namespace can be (maliciously) used to interact with other processes running outside the container
32
32
# - identifier: DEPLOYMENT_INCORRECT_REPLICAS_VALUE # Not applicable to RESC
33
-
# messageOnFailure: Incorrect value for key `replicas` - don't relay on a single pod to do all of the work. Running 2 or more replicas will increase the availability of the service
33
+
# messageOnFailure: Incorrect value for key `replicas` - don't relay on a single pod to do all of the work. Running 2 or more replicas will increase the availability of the service
34
34
- identifier: HPA_MISSING_MAXREPLICAS_KEY
35
35
messageOnFailure: Missing property object `maxReplicas` - the value should be within the accepted boundaries recommended by the organization
Copy file name to clipboardexpand all lines: deployment/kubernetes/templates/web_service_service.tpl
+2
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ metadata:
7
7
labels:
8
8
app: {{ .Values.global.appName }}
9
9
tier: api{{ .Values.nameSuffix }}
10
+
annotations:
11
+
datree.skip/SERVICE_INCORRECT_TYPE_VALUE_NODEPORT: irrelevant as its only exposed for local environment and can be enabled/disabled from env specific values.yaml
0 commit comments