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.

67 lines
1.5 KiB

  1. replicaCount: 1
  2. clusterName: eshop-aks
  3. pathBase: /ordering-api
  4. image:
  5. repository: eshop/ordering.api
  6. tag: latest
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 80
  11. grpcPort: 81
  12. ingress:
  13. enabled: false
  14. annotations: {}
  15. hosts:
  16. - chart-example.local
  17. tls: []
  18. resources: {}
  19. nodeSelector: {}
  20. tolerations: []
  21. affinity: {}
  22. # env defines the environment variables that will be declared in the pod
  23. env:
  24. urls:
  25. # 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).
  26. configmap:
  27. - name: ConnectionString
  28. key: ordering__ConnectionString
  29. - name: ApplicationInsights__InstrumentationKey
  30. key: all__InstrumentationKey
  31. - name: EventBusConnection
  32. key: all__EventBusConnection
  33. - name: AzureServiceBusEnabled
  34. key: all__UseAzureServiceBus
  35. - name: IdentityUrl
  36. key: urls__IdentityUrl
  37. # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value)
  38. values:
  39. - name: ASPNETCORE_ENVIRONMENT
  40. value: Development
  41. - name: OrchestratorType
  42. value: 'K8S'
  43. - name: PORT
  44. value: "80"
  45. - name: GRPC_PORT
  46. value: "81"
  47. probes:
  48. liveness:
  49. path: /liveness
  50. initialDelaySeconds: 10
  51. periodSeconds: 15
  52. port: 80
  53. readiness:
  54. path: /hc
  55. timeoutSeconds: 5
  56. initialDelaySeconds: 90
  57. periodSeconds: 60
  58. port: 80