SHARE
TWEET

Untitled

a guest May 21st, 2017 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## GitLab Edition
  2. ## ref: https://about.gitlab.com/products/
  3. ## - CE - Community Edition
  4. ## - EE - Enterprise Edition - (requires license issued by GitLab Inc)
  5. ##
  6. edition: CE
  7.  
  8. ## GitLab CE image
  9. ## ref: https://hub.docker.com/r/gitlab/gitlab-ce/tags/
  10. ##
  11. ceImage: gitlab/gitlab-ce:9.1.2-ce.0
  12.  
  13. ## GitLab EE image
  14. ## ref: https://hub.docker.com/r/gitlab/gitlab-ee/tags/
  15. ##
  16. eeImage: gitlab/gitlab-ee:9.1.2-ee.0
  17.  
  18. ## Specify a imagePullPolicy
  19. ## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
  20. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  21. ##
  22. # imagePullPolicy:
  23.  
  24. ## The URL (with protocol) that your users will use to reach the install.
  25. ## ref: https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
  26. ##
  27. externalUrl: http://gitlab.127.0.0.1.xip.io/
  28. #registryExternalUrl: http://registry.your-domain.com/
  29. mattermostExternalUrl: http://mattermost.127.0.0.1.xip.io/
  30.  
  31. ## Change the initial default admin password if set. If not set, you'll be
  32. ## able to set it when you first visit your install.
  33. ##
  34. #gitlabRootPassword: ""
  35.  
  36. ## Run an additional command after the application has been started
  37. ## For example, if you want to register a new oauth application with GitLab, like
  38. ## your Mattermost server, provide the script to do so here
  39. ##.
  40. #postReconfigureScript: ""
  41.  
  42. ## For minikube, set this to NodePort, elsewhere use LoadBalancer
  43. ## ref: http://kubernetes.io/docs/user-guide/services/#publishing-services---service-types
  44. ##
  45. serviceType: LoadBalancer
  46.  
  47. ## Configure external service ports
  48. ## ref: http://kubernetes.io/docs/user-guide/services/
  49. sshPort: 22
  50. httpPort: 80
  51. httpsPort: 443
  52. mattermostPort: 8065
  53. registryPort: 8105
  54. workhorsePort: 8005
  55. prometheusPort: 9090
  56. nodeExporterPort: 9100
  57.  
  58. ## Configuration values for mattermost
  59. mattermostAppSecret: gitlab
  60. mattermostAppUID: aadas
  61.  
  62. ## Configure access to an external database
  63. ## For these settings to be used you need to disable
  64. ## the included postgresql database below
  65. ## ref: https://docs.gitlab.com/omnibus/settings/database.html#using-a-non-packaged-postgresql-database-management-server
  66. # dbHost:
  67. # dbPassword:
  68. # dbUsername:
  69. # dbDatabase:
  70.  
  71. ## Configure access to an external redis server
  72. ## For these settings to be used you need to disable
  73. ## the included redis database below
  74. ## ref: https://docs.gitlab.com/omnibus/settings/redis.html#using-a-non-packaged-redis-instance
  75. # redisHost:
  76. # redisPassword:
  77.  
  78. ## Configure resource requests and limits
  79. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  80. ##
  81. resources:
  82.  ## GitLab requires a good deal of resources. We have split out Postgres and
  83.   ## redis, which helps some. Refer to the guidelines for larger installs.
  84.   ## ref: https://docs.gitlab.com/ce/install/requirements.html#hardware-requirements
  85.   requests:
  86.     memory: 1Gi
  87.     cpu: 500m
  88.   limits:
  89.     memory: 2Gi
  90.     cpu: 1
  91.  
  92. ## Enable persistence using Persistent Volume Claims
  93. ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
  94. ## ref: https://docs.gitlab.com/ce/install/requirements.html#storage
  95. ##
  96. persistence:
  97.  ## This volume persists generated configuration files, keys, and certs.
  98.   ##
  99.   gitlabEtc:
  100.     enabled: true
  101.     size: 1Gi
  102.     ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
  103.     ## Default: volume.alpha.kubernetes.io/storage-class: default
  104.     ##
  105.     # storageClass:
  106.     accessMode: ReadWriteOnce
  107.   ## This volume is used to store git data and other project files.
  108.   ## ref: https://docs.gitlab.com/omnibus/settings/configuration.html#storing-git-data-in-an-alternative-directory
  109.   ##
  110.   gitlabData:
  111.     enabled: true
  112.     size: 10Gi
  113.     ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
  114.     ## Default: volume.alpha.kubernetes.io/storage-class: default
  115.     ##
  116.     # storageClass:
  117.     accessMode: ReadWriteOnce
  118.   gitlabRegistry:
  119.     enabled: true
  120.     size: 10Gi
  121.     ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
  122.     ## Default: volume.alpha.kubernetes.io/storage-class: default
  123.     ##
  124.     # storageClass:
  125.     accessMode: ReadWriteOnce
  126.  
  127. ingress:
  128.  ## If true, gitlab Ingress will be created
  129.   ##
  130.   enabled: true
  131.  
  132.   ## gitlab Ingress annotations
  133.   ##
  134.   annotations: # {}
  135.     kubernetes.io/ingress.class: nginx
  136.   #   kubernetes.io/tls-acme: 'true'
  137.  
  138.   ## gitlab Ingress hostnames
  139.   ## Must be provided if Ingress is enabled
  140.   ##
  141.   hosts: # []
  142.     - gitlab.127.0.0.1.xip.io
  143.   #   - registry.example.com
  144.  
  145.   ## gitlab Ingress TLS configuration
  146.   ## Secrets must be created in the namespace, and is not done for you in this chart
  147.   ##
  148.   tls: []
  149.   #   - secretName: gitlab-tls
  150.   #     hosts:
  151.   #       - gitlab.example.com
  152.  
  153. ## Configuration values for the postgresql dependency.
  154. ## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
  155. ##
  156. postgresql:
  157.  # Sets whether the postgresql helm chart is used as a dependency
  158.   enabled: true
  159.  
  160.   # 9.6 is the newest supported version for the GitLab container
  161.   imageTag: "9.6"
  162.   cpu: 1000m
  163.   memory: 1Gi
  164.  
  165.   postgresUser: gitlab
  166.   postgresPassword: gitlab
  167.   postgresDatabase: gitlab
  168.  
  169.   persistence:
  170.     size: 10Gi
  171.  
  172. ## Configuration values for the redis dependency.
  173. ## ref: https://github.com/kubernetes/charts/blob/master/stable/redis/README.md
  174. ##
  175. redis:
  176.  # Sets whether the redis helm chart is used as a dependency
  177.   enabled: true
  178.  
  179.   redisPassword: "gitlab"
  180.  
  181.   resources:
  182.     requests:
  183.       memory: 1Gi
  184.  
  185.   persistence:
  186.     size: 10Gi
  187.  
  188. omnibusConfigRuby: |
  189.  unicorn['worker_processes'] = 2;
  190.   gitlab_rails['trusted_proxies'] = ["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16"];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top