Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,23 @@ spec:
image: {{ .Values.deployment.image.repo }}:{{ default .Chart.AppVersion .Values.deployment.image.tag }}
imagePullPolicy: {{ .Values.deployment.image.imagePullPolicy }}
ports:
- containerPort: 8080
- containerPort: {{ .Values.deployment.containerPort }}
readinessProbe:
failureThreshold: {{ .Values.deployment.readinessProbe.failureThreshold }}
httpGet:
path: {{ .Values.deployment.readinessProbe.path }}
port: {{ .Values.deployment.containerPort }}
port: {{ .Values.deployment.containerAdminPort }}
initialDelaySeconds: {{ .Values.deployment.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.deployment.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.deployment.readinessProbe.failureThreshold }}
successThreshold: {{ .Values.deployment.readinessProbe.successThreshold }}
timeoutSeconds: {{ .Values.deployment.readinessProbe.timeoutSeconds }}
livenessProbe:
failureThreshold: {{ .Values.deployment.livenessProbe.failureThreshold }}
httpGet:
path: {{ .Values.deployment.livenessProbe.path }}
port: {{ .Values.deployment.containerPort }}
port: {{ .Values.deployment.containerAdminPort }}
initialDelaySeconds: {{ .Values.deployment.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.deployment.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.deployment.livenessProbe.failureThreshold }}
successThreshold: {{ .Values.deployment.livenessProbe.successThreshold }}
timeoutSeconds: {{ .Values.deployment.livenessProbe.timeoutSeconds }}
volumeMounts:
Expand Down
12 changes: 5 additions & 7 deletions _infra/helm/secure-api-gateway-fapi-pep-rs-ob/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ deployment:
apiVersion: "apps/v1"
# Container port exposed by a pod or deployment
containerPort: 8080
containerAdminPort: 8085
image:
# Repo And Tag are not provided here as the value for the repo will be unique for each user/customer as they will be building their own docker images and push to their own Container Registries
# The tag will use the .AppVersion as the default, meaning that customers who want to install V1 will get V1.0.0 of the software - you may supply a hard coded version if required
Expand All @@ -54,20 +55,17 @@ deployment:
# Config for the liveness probe
livenessProbe:
failureThreshold: 3
path: "/kube/liveness"
initialDelaySeconds: 60
path: "/health/live"
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
# RS Connects to the mongodb instance
mongodb:
# Full name of the mongodb deployment
host: "mongodb"
# Config for the readiness probe
readinessProbe:
initialDelaySeconds: 5
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 30
path: "/kube/readiness"
path: "/health/ready"
successThreshold: 1
timeoutSeconds: 5
# How many pods are to run in the deployment
Expand Down
2 changes: 1 addition & 1 deletion bin/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ restore)
;;
*)
echo "Unknown command $_arg_operation"
esac
esac
11 changes: 7 additions & 4 deletions config/7.3.0/securebanking/ig/config/dev/config/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
}
},
{
"name": "ApiProtectionFilter",
"name": "apiProtectionFilter",
"type": "ChainOfFilters",
"config": {
"filters": [
Expand All @@ -128,7 +128,7 @@
}
},
{
"name": "MetricsProtectionFilter",
"name": "metricsProtectionFilter",
"type": "ScriptableFilter",
"config": {
"type": "application/x-groovy",
Expand All @@ -150,9 +150,12 @@
}
}
],
"adminConnector": {
"port": 8085
},
"mode": "DEVELOPMENT",
"studioProtectionFilter": "StudioProtectionFilter-AOF",
"_studioProtectionFilter.comment": "The referenced filter is temporary only to apply IP constraints",
"apiProtectionFilter": "ApiProtectionFilter",
"metricsProtectionFilter": "MetricsProtectionFilter"
"apiProtectionFilter": "apiProtectionFilter",
"metricsProtectionFilter": "metricsProtectionFilter"
}
7 changes: 5 additions & 2 deletions config/7.3.0/securebanking/ig/config/prod/config/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"capture": "all"
},
{
"name": "ApiProtectionFilter",
"name": "apiProtectionFilter",
"type": "ScriptableFilter",
"config": {
"type": "application/x-groovy",
"file": "ApiProtection.groovy"
}
},
{
"name": "MetricsProtectionFilter",
"name": "metricsProtectionFilter",
"type": "ScriptableFilter",
"config": {
"type": "application/x-groovy",
Expand All @@ -36,5 +36,8 @@
}
}
],
"adminConnector": {
"port": 8085
},
"mode": "PRODUCTION"
}
29 changes: 0 additions & 29 deletions config/7.3.0/securebanking/ig/routes/routes-pod/99-kube-probe.json

This file was deleted.