values.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # Default values for canal-admin.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
  5. replicaCount: 1
  6. # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
  7. image:
  8. repository: canal/canal-admin
  9. # This sets the pull policy for images.
  10. pullPolicy: IfNotPresent
  11. # Overrides the image tag whose default is the chart appVersion.
  12. tag: "latest"
  13. # This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  14. imagePullSecrets: []
  15. # This is to override the chart name.
  16. nameOverride: ""
  17. fullnameOverride: ""
  18. # This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
  19. serviceAccount:
  20. # Specifies whether a service account should be created
  21. create: false
  22. # Automatically mount a ServiceAccount's API credentials?
  23. automount: false
  24. # Annotations to add to the service account
  25. annotations: {}
  26. # The name of the service account to use.
  27. # If not set and create is true, a name is generated using the fullname template
  28. name: ""
  29. # This is for setting Kubernetes Annotations to a Pod.
  30. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  31. podAnnotations: {}
  32. # This is for setting Kubernetes Labels to a Pod.
  33. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  34. podLabels: {}
  35. podSecurityContext: {}
  36. # fsGroup: 2000
  37. securityContext: {}
  38. # capabilities:
  39. # drop:
  40. # - ALL
  41. # readOnlyRootFilesystem: true
  42. # runAsNonRoot: true
  43. # runAsUser: 1000
  44. # This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
  45. service:
  46. # This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
  47. type: ClusterIP
  48. # This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
  49. port: 8089
  50. # This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
  51. ingress:
  52. enabled: false
  53. className: ""
  54. annotations: {}
  55. # kubernetes.io/ingress.class: nginx
  56. # kubernetes.io/tls-acme: "true"
  57. hosts:
  58. - host: chart-example.local
  59. paths:
  60. - path: /
  61. pathType: ImplementationSpecific
  62. tls: []
  63. # - secretName: chart-example-tls
  64. # hosts:
  65. # - chart-example.local
  66. resources: {}
  67. # We usually recommend not to specify default resources and to leave this as a conscious
  68. # choice for the user. This also increases chances charts run on environments with little
  69. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  70. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  71. # limits:
  72. # cpu: 100m
  73. # memory: 128Mi
  74. # requests:
  75. # cpu: 100m
  76. # memory: 128Mi
  77. # This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
  78. livenessProbe:
  79. httpGet:
  80. path: /
  81. port: http
  82. readinessProbe:
  83. httpGet:
  84. path: /
  85. port: http
  86. # This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
  87. autoscaling:
  88. enabled: false
  89. minReplicas: 1
  90. maxReplicas: 100
  91. targetCPUUtilizationPercentage: 80
  92. # targetMemoryUtilizationPercentage: 80
  93. # Additional volumes on the output Deployment definition.
  94. volumes: []
  95. # - name: foo
  96. # secret:
  97. # secretName: mysecret
  98. # optional: false
  99. # Additional volumeMounts on the output Deployment definition.
  100. volumeMounts: []
  101. # - name: foo
  102. # mountPath: "/etc/foo"
  103. # readOnly: true
  104. nodeSelector: {}
  105. tolerations: []
  106. affinity: {}
  107. admin:
  108. config: |
  109. server:
  110. port: 8089
  111. spring:
  112. jackson:
  113. date-format: yyyy-MM-dd HH:mm:ss
  114. time-zone: GMT+8
  115. spring.datasource:
  116. address: you_db_host:3306
  117. database: canal_manager
  118. username: ****
  119. password: ****
  120. driver-class-name: com.mysql.jdbc.Driver
  121. url: jdbc:mysql://${spring.datasource.address}/${spring.datasource.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
  122. hikari:
  123. maximum-pool-size: 30
  124. minimum-idle: 1
  125. canal:
  126. adminUser: admin
  127. adminPasswd: admin
  128. # debug: true