Skip to content

Commit

Permalink
NOD-574
Browse files Browse the repository at this point in the history
Modificare i cronjob in modo da far puntare verso APIM
  • Loading branch information
lorenzo-catalano committed Feb 27, 2024
1 parent 0576e4c commit a75e6eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ refresh-p:
command:
- "/bin/sh"
- "-c"
- "echo $API_CONFIG_CACHE_SUBSCRIPTION_KEY"
- "echo \"Starting...\"; export URL=https://api.dev.platform.pagopa.it/api-config-cache/p/v1/cache/refresh; echo \"Call '$URL'\"; curl -k -H \"Ocp-Apim-Subscription-Key: $API_CONFIG_CACHE_SUBSCRIPTION_KEY\" -m 300 $URL; echo \"\"; echo \"Done\";"
resources:
requests:
memory: "256Mi"
Expand All @@ -163,7 +163,7 @@ refresh-p:
!!merge <<: *azureSecretProvider
envSecrets:
!!merge <<: *envSecret
API_CONFIG_CACHE_SUBSCRIPTION_KEY: "api-config-cache-subscription-key-string"
API_CONFIG_CACHE_SUBSCRIPTION_KEY: "api-config-cache-subscription-key"
tolerations:
- key: dedicated
operator: Equal
Expand Down

0 comments on commit a75e6eb

Please sign in to comment.