Skip to content

Commit

Permalink
upd helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualespica committed Mar 18, 2024
1 parent 9335b16 commit e0dc23f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version: 0.24.0
appVersion: 0.2.3
dependencies:
- name: microservice-chart
version: 1.21.0
version: 2.4.0
repository: "https://pagopa.github.io/aks-microservice-chart-blueprint"
27 changes: 23 additions & 4 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ microservice-chart:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.3"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
httpGet:
path: /actuator/health/liveness
Expand All @@ -22,14 +23,24 @@ microservice-chart:
periodSeconds: 10
deployment:
create: true
service:
serviceMonitor:
create: true
endpoints:
- interval: 10s #jmx-exporter
targetPort: 12345
path: /metrics
ports:
- 8080
service:
type: ClusterIP
port: 8080
ports:
- 8080
- 12345 #jmx-exporter
ingress:
create: true
host: "weudev.shared.internal.dev.platform.pagopa.it"
path: /authorizer-config/(.*)
servicePort: 8080
serviceAccount:
create: false
annotations: {}
Expand All @@ -50,7 +61,7 @@ microservice-chart:
autoscaling:
enable: true
minReplica: 1
maxReplica: 3
maxReplica: 1
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
Expand All @@ -59,6 +70,12 @@ microservice-chart:
# Required
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
- type: memory
metadata:
# Required
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "70"
fileConfig: {}
envConfig:
WEBSITE_SITE_NAME: 'pagopaplatformauthorizerconfig'
ENV: 'dev'
Expand All @@ -77,6 +94,9 @@ microservice-chart:
CLIENT_CONNECTION_TIMEOUT: "10000"
APICONFIG_SELFCARE_INTEGRATION_PATH: "https://api.dev.platform.pagopa.it/apiconfig-selfcare-integration/v1"
CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}'
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string'
OTEL_EXPORTER_OTLP_HEADERS: 'elastic-otel-token-header'
Expand All @@ -87,7 +107,6 @@ microservice-chart:
name: "pagopa-d-shared-kv"
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit e0dc23f

Please sign in to comment.