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.

60 lines
1.3 KiB

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