You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

6 years ago
6 years ago
6 years ago
  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /catalog-api
  4. image:
  5. repository: eshop/catalog.api
  6. tag: latest
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 80
  11. resources: {}
  12. nodeSelector: {}
  13. tolerations: []
  14. affinity: {}
  15. # env defines the environment variables that will be declared in the pod
  16. env:
  17. urls:
  18. # configmap declares variables which value is taken from the config map defined in template configmap.yaml (name is name of var and key the key in configmap).
  19. configmap:
  20. - name: ConnectionString
  21. key: catalog__ConnectionString
  22. - name: PicBaseUrl
  23. key: catalog__PicBaseUrl
  24. - name: AzureStorageEnabled
  25. key: catalog__AzureStorageEnabled
  26. - name: ApplicationInsights__InstrumentationKey
  27. key: all__InstrumentationKey
  28. - name: EventBusConnection
  29. key: all__EventBusConnection
  30. - name: AzureServiceBusEnabled
  31. key: all__UseAzureServiceBus
  32. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  33. values:
  34. - name: ASPNETCORE_ENVIRONMENT
  35. value: Development
  36. - name: OrchestratorType
  37. value: 'K8S'
  38. probes:
  39. liveness:
  40. path: /liveness
  41. initialDelaySeconds: 10
  42. periodSeconds: 15
  43. port: 80
  44. readiness:
  45. path: /hc
  46. timeoutSeconds: 5
  47. initialDelaySeconds: 90
  48. periodSeconds: 60
  49. port: 80