Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualespica committed Feb 13, 2025
1 parent acfe11a commit 3850bad
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 34 deletions.
22 changes: 7 additions & 15 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,20 @@ microservice-chart:
failureThreshold: 10
deployment:
create: true
# serviceMonitor:
# create: true
# endpoints:
# - interval: 10s #jmx-exporter
# targetPort: 12345
# path: /metrics
serviceMonitor:
create: true
endpoints:
- interval: 10s #jmx-exporter
targetPort: 12345
path: /metrics
ports:
- 80 #http
- 12345 #jmx-exporter
- 8080
service:
type: ClusterIP
ports:
- 80 #http
- 8080
- 12345 #jmx-exporter
ingress:
create: true
host: "weudev.fdr.internal.dev.platform.pagopa.it"
Expand All @@ -67,13 +66,6 @@ microservice-chart:
type: RuntimeDefault
securityContext:
allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# capabilities:
# add:
# - NET_BIND_SERVICE
volumes:
- emptyDir: {}
name: tmpvol
resources:
requests:
memory: "256Mi"
Expand Down
25 changes: 16 additions & 9 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
microservice-chart:
namespace: "fdr"
nameOverride: ""
nameOverride: "pagopa-fdr-2-event"
fullnameOverride: "pagopa-fdr-2-event-hub"
image:
repository: ghcr.io/pagopa/pagopa-fdr-2-event-hub
Expand All @@ -24,14 +24,14 @@ microservice-chart:
livenessProbe:
handlerType: tcpSocket
tcpSocket:
port: 80
port: 8080
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 10
readinessProbe:
handlerType: tcpSocket
tcpSocket:
port: 80
port: 8080
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 10
Expand All @@ -44,12 +44,12 @@ microservice-chart:
targetPort: 12345
path: /metrics
ports:
- 80 #http
- 12345 #jmx-exporter
- 8080
service:
type: ClusterIP
ports:
- 80 #http
- 8080
- 12345 #jmx-exporter
ingress:
create: true
Expand All @@ -65,9 +65,7 @@ microservice-chart:
seccompProfile:
type: RuntimeDefault
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
allowPrivilegeEscalation: false
resources:
requests:
memory: "768Mi"
Expand Down Expand Up @@ -100,6 +98,7 @@ microservice-chart:
BLOB_STORAGE_FDR3_CONTAINER: "fdr3-flows"
EVENT_HUB_FLOWTX_NAME: "fdr-qi-flows"
EVENT_HUB_REPORTEDIUV_NAME: "fdr-qi-reported-iuv"
ASPNETCORE_URLS: "http://*:8080"
FUNCTIONS_SECRETS_PATH: "/tmp/secrets"
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
Expand All @@ -115,6 +114,14 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
affinity: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node_type
operator: In
values:
- 'user'
canaryDelivery:
create: false
18 changes: 8 additions & 10 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ microservice-chart:
failureThreshold: 10
deployment:
create: true
# serviceMonitor:
# create: true
# endpoints:
# - interval: 10s #jmx-exporter
# targetPort: 12345
# path: /metrics
serviceMonitor:
create: true
endpoints:
- interval: 10s #jmx-exporter
targetPort: 12345
path: /metrics
ports:
- 12345 #jmx-exporter
- 8080
Expand All @@ -65,9 +65,7 @@ microservice-chart:
seccompProfile:
type: RuntimeDefault
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
allowPrivilegeEscalation: false
resources:
requests:
memory: "768Mi"
Expand Down Expand Up @@ -100,8 +98,8 @@ microservice-chart:
BLOB_STORAGE_FDR3_CONTAINER: "fdr3-flows"
EVENT_HUB_FLOWTX_NAME: "fdr-qi-flows"
EVENT_HUB_REPORTEDIUV_NAME: "fdr-qi-reported-iuv"
FUNCTIONS_SECRETS_PATH: "/tmp/secrets"
ASPNETCORE_URLS: "http://*:8080"
FUNCTIONS_SECRETS_PATH: "/tmp/secrets"
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
Expand Down

0 comments on commit 3850bad

Please sign in to comment.