values.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Default values for testapp.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. replicaCount: 1
  5. image:
  6. repository: 853492172208.dkr.ecr.us-west-2.amazonaws.com/wp-nginx-php
  7. tag: latest
  8. pullPolicy: IfNotPresent
  9. imagePullSecrets: []
  10. nameOverride: ""
  11. fullnameOverride: ""
  12. namespaceOverride: ""
  13. serviceAccount:
  14. # Specifies whether a service account should be created
  15. create: false
  16. # The name of the service account to use.
  17. # If not set and create is true, a name is generated using the fullname template
  18. name:
  19. podSecurityContext: {}
  20. # fsGroup: 2000
  21. securityContext: {}
  22. # capabilities:
  23. # drop:
  24. # - ALL
  25. # readOnlyRootFilesystem: true
  26. # runAsNonRoot: true
  27. # runAsUser: 1000
  28. storage:
  29. create: true
  30. accessMode: ReadWriteMany
  31. size: 1Gi
  32. class: efs-sc
  33. service:
  34. port: 80
  35. targetPort: 80
  36. ingress:
  37. enabled: true
  38. annotations:
  39. kubernetes.io/ingress.class: nginx
  40. nginx.ingress.kubernetes.io/backend-protocol: HTTP
  41. cert-manager.io/cluster-issuer: letsencrypt-http
  42. nginx.ingress.kubernetes.io/x-forwarded-proto: "https"
  43. nginx.ingress.kubernetes.io/x-forwarded-port: "443"
  44. nginx.ingress.kubernetes.io/ssl-redirect: "true"
  45. nginx.ingress.kubernetes.io/proxy-body-size: 50m
  46. domain: www.example.com
  47. tls:
  48. enabled: true
  49. resources:
  50. # We usually recommend not to specify default resources and to leave this as a conscious
  51. # choice for the user. This also increases chances charts run on environments with little
  52. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  53. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  54. limits:
  55. cpu: 2000m
  56. memory: 4096Mi
  57. requests:
  58. cpu: 1000m
  59. memory: 2048Mi
  60. # 调度控制
  61. nodeSelector: {}
  62. tolerations: []
  63. affinity: {}