values.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. # Additional Trusted CAs.
  2. # Enable this flag and add your CA certs as a secret named tls-ca-additional in the namespace.
  3. # See README.md for details.
  4. additionalTrustedCAs: false
  5. antiAffinity: preferred
  6. topologyKey: kubernetes.io/hostname
  7. # Audit Logs https://rancher.com/docs/rancher/v2.x/en/installation/api-auditing/
  8. # The audit log is piped to the console of the rancher-audit-log container in the rancher pod.
  9. # https://rancher.com/docs/rancher/v2.x/en/installation/api-auditing/
  10. # destination stream to sidecar container console or hostPath volume
  11. # level: Verbosity of logs, 0 to 3. 0 is off 3 is a lot.
  12. auditLog:
  13. destination: sidecar
  14. hostPath: /var/log/rancher/audit/
  15. level: 0
  16. maxAge: 1
  17. maxBackup: 1
  18. maxSize: 100
  19. # Image for collecting rancher audit logs.
  20. # Important: update pkg/image/export/resolve.go when this default image is changed, so that it's reflected accordingly in rancher-images.txt generated for air-gapped setups.
  21. image:
  22. repository: "rancher/mirrored-bci-micro"
  23. tag: 15.4.14.3
  24. # Override imagePullPolicy image
  25. # options: Always, Never, IfNotPresent
  26. pullPolicy: "IfNotPresent"
  27. # As of Rancher v2.5.0 this flag is deprecated and must be set to 'true' in order for Rancher to start
  28. addLocal: "true"
  29. # Add debug flag to Rancher server
  30. debug: false
  31. # When starting Rancher for the first time, bootstrap the admin as restricted-admin
  32. restrictedAdmin: false
  33. # Extra environment variables passed to the rancher pods.
  34. # extraEnv:
  35. # - name: CATTLE_TLS_MIN_VERSION
  36. # value: "1.0"
  37. # Fully qualified name to reach your Rancher server
  38. hostname: rancher.retailwell.com
  39. ## Optional array of imagePullSecrets containing private registry credentials
  40. ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  41. imagePullSecrets: []
  42. # - name: secretName
  43. ### ingress ###
  44. # Readme for details and instruction on adding tls secrets.
  45. ingress:
  46. # If set to false, ingress will not be created
  47. # Defaults to true
  48. # options: true, false
  49. enabled: true
  50. includeDefaultExtraAnnotations: true
  51. extraAnnotations: {}
  52. ingressClassName: ""
  53. # backend port number
  54. servicePort: 80
  55. # configurationSnippet - Add additional Nginx configuration. This example statically sets a header on the ingress.
  56. # configurationSnippet: |
  57. # more_set_input_headers "X-Forwarded-Host: {{ .Values.hostname }}";
  58. tls:
  59. # options: rancher, letsEncrypt, secret
  60. source: rancher
  61. secretName: tls-secret
  62. ### LetsEncrypt config ###
  63. # ProTip: The production environment only allows you to register a name 5 times a week.
  64. # Use staging until you have your config right.
  65. letsEncrypt:
  66. # email: none@example.com
  67. environment: production
  68. ingress:
  69. # options: traefik, nginx
  70. class: "nginx"
  71. # If you are using certs signed by a private CA set to 'true' and set the 'tls-ca'
  72. # in the 'rancher-system' namespace. See the README.md for details
  73. privateCA: false
  74. # http[s] proxy server passed into rancher server.
  75. # proxy: http://<username>@<password>:<url>:<port>
  76. # comma separated list of domains or ip addresses that will not use the proxy
  77. noProxy: 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local
  78. # Override rancher image location for Air Gap installs
  79. rancherImage: rancher/rancher
  80. # rancher/rancher image tag. https://hub.docker.com/r/rancher/rancher/tags/
  81. # Defaults to .Chart.appVersion
  82. # rancherImageTag: v2.0.7
  83. # Override imagePullPolicy for rancher server images
  84. # options: Always, Never, IfNotPresent
  85. # Defaults to IfNotPresent
  86. # rancherImagePullPolicy: <pullPolicy>
  87. # Number of Rancher server replicas. Setting to negative number will dynamically between 0 and the abs(replicas) based on available nodes.
  88. # of available nodes in the cluster
  89. replicas: 3
  90. # Set priorityClassName to avoid eviction
  91. priorityClassName: rancher-critical
  92. # Set pod resource requests/limits for Rancher.
  93. resources: {}
  94. #
  95. # tls
  96. # Where to offload the TLS/SSL encryption
  97. # - ingress (default)
  98. # - external
  99. tls: ingress
  100. systemDefaultRegistry: ""
  101. # Set to use the packaged system charts
  102. useBundledSystemChart: false
  103. # Certmanager version compatibility
  104. certmanager:
  105. version: "1.7.1"
  106. # Rancher custom logos persistence
  107. customLogos:
  108. enabled: false
  109. volumeSubpaths:
  110. emberUi: "ember"
  111. vueUi: "vue"
  112. ## Volume kind to use for persistence: persistentVolumeClaim, configMap
  113. volumeKind: persistentVolumeClaim
  114. ## Use an existing volume. Custom logos should be copied to the volume by the user
  115. # volumeName: custom-logos
  116. ## Just for volumeKind: persistentVolumeClaim
  117. ## To disables dynamic provisioning, set storageClass: "" or storageClass: "-"
  118. storageClass: "nas-storage"
  119. accessMode: ReadWriteOnce
  120. size: 1Gi
  121. # Rancher post-delete hook
  122. postDelete:
  123. enabled: true
  124. image:
  125. repository: rancher/shell
  126. tag: v0.1.18
  127. namespaceList:
  128. - cattle-fleet-system
  129. - cattle-system
  130. - rancher-operator-system
  131. # Number of seconds to wait for an app to be uninstalled
  132. timeout: 120
  133. # by default, the job will fail if it fail to uninstall any of the apps
  134. ignoreTimeoutError: false
  135. # Set a bootstrap password. If leave empty, a random password will be generated.
  136. bootstrapPassword: "sxkj12345678"