Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## GitLab Edition
- ## ref: https://about.gitlab.com/products/
- ## - CE - Community Edition
- ## - EE - Enterprise Edition - (requires license issued by GitLab Inc)
- ##
- edition: CE
- ## GitLab CE image
- ## ref: https://hub.docker.com/r/gitlab/gitlab-ce/tags/
- ##
- ceImage: gitlab/gitlab-ce:9.1.2-ce.0
- ## GitLab EE image
- ## ref: https://hub.docker.com/r/gitlab/gitlab-ee/tags/
- ##
- eeImage: gitlab/gitlab-ee:9.1.2-ee.0
- ## Specify a imagePullPolicy
- ## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
- ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
- ##
- # imagePullPolicy:
- ## The URL (with protocol) that your users will use to reach the install.
- ## ref: https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
- ##
- externalUrl: http://gitlab.127.0.0.1.xip.io/
- #registryExternalUrl: http://registry.your-domain.com/
- mattermostExternalUrl: http://mattermost.127.0.0.1.xip.io/
- ## Change the initial default admin password if set. If not set, you'll be
- ## able to set it when you first visit your install.
- ##
- #gitlabRootPassword: ""
- ## Run an additional command after the application has been started
- ## For example, if you want to register a new oauth application with GitLab, like
- ## your Mattermost server, provide the script to do so here
- ##.
- #postReconfigureScript: ""
- ## For minikube, set this to NodePort, elsewhere use LoadBalancer
- ## ref: http://kubernetes.io/docs/user-guide/services/#publishing-services---service-types
- ##
- serviceType: LoadBalancer
- ## Configure external service ports
- ## ref: http://kubernetes.io/docs/user-guide/services/
- sshPort: 22
- httpPort: 80
- httpsPort: 443
- mattermostPort: 8065
- registryPort: 8105
- workhorsePort: 8005
- prometheusPort: 9090
- nodeExporterPort: 9100
- ## Configuration values for mattermost
- mattermostAppSecret: gitlab
- mattermostAppUID: aadas
- ## Configure access to an external database
- ## For these settings to be used you need to disable
- ## the included postgresql database below
- ## ref: https://docs.gitlab.com/omnibus/settings/database.html#using-a-non-packaged-postgresql-database-management-server
- # dbHost:
- # dbPassword:
- # dbUsername:
- # dbDatabase:
- ## Configure access to an external redis server
- ## For these settings to be used you need to disable
- ## the included redis database below
- ## ref: https://docs.gitlab.com/omnibus/settings/redis.html#using-a-non-packaged-redis-instance
- # redisHost:
- # redisPassword:
- ## Configure resource requests and limits
- ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
- ##
- resources:
- ## GitLab requires a good deal of resources. We have split out Postgres and
- ## redis, which helps some. Refer to the guidelines for larger installs.
- ## ref: https://docs.gitlab.com/ce/install/requirements.html#hardware-requirements
- requests:
- memory: 1Gi
- cpu: 500m
- limits:
- memory: 2Gi
- cpu: 1
- ## Enable persistence using Persistent Volume Claims
- ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
- ## ref: https://docs.gitlab.com/ce/install/requirements.html#storage
- ##
- persistence:
- ## This volume persists generated configuration files, keys, and certs.
- ##
- gitlabEtc:
- enabled: true
- size: 1Gi
- ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
- ## Default: volume.alpha.kubernetes.io/storage-class: default
- ##
- # storageClass:
- accessMode: ReadWriteOnce
- ## This volume is used to store git data and other project files.
- ## ref: https://docs.gitlab.com/omnibus/settings/configuration.html#storing-git-data-in-an-alternative-directory
- ##
- gitlabData:
- enabled: true
- size: 10Gi
- ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
- ## Default: volume.alpha.kubernetes.io/storage-class: default
- ##
- # storageClass:
- accessMode: ReadWriteOnce
- gitlabRegistry:
- enabled: true
- size: 10Gi
- ## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
- ## Default: volume.alpha.kubernetes.io/storage-class: default
- ##
- # storageClass:
- accessMode: ReadWriteOnce
- ingress:
- ## If true, gitlab Ingress will be created
- ##
- enabled: true
- ## gitlab Ingress annotations
- ##
- annotations: # {}
- kubernetes.io/ingress.class: nginx
- # kubernetes.io/tls-acme: 'true'
- ## gitlab Ingress hostnames
- ## Must be provided if Ingress is enabled
- ##
- hosts: # []
- - gitlab.127.0.0.1.xip.io
- # - registry.example.com
- ## gitlab Ingress TLS configuration
- ## Secrets must be created in the namespace, and is not done for you in this chart
- ##
- tls: []
- # - secretName: gitlab-tls
- # hosts:
- # - gitlab.example.com
- ## Configuration values for the postgresql dependency.
- ## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
- ##
- postgresql:
- # Sets whether the postgresql helm chart is used as a dependency
- enabled: true
- # 9.6 is the newest supported version for the GitLab container
- imageTag: "9.6"
- cpu: 1000m
- memory: 1Gi
- postgresUser: gitlab
- postgresPassword: gitlab
- postgresDatabase: gitlab
- persistence:
- size: 10Gi
- ## Configuration values for the redis dependency.
- ## ref: https://github.com/kubernetes/charts/blob/master/stable/redis/README.md
- ##
- redis:
- # Sets whether the redis helm chart is used as a dependency
- enabled: true
- redisPassword: "gitlab"
- resources:
- requests:
- memory: 1Gi
- persistence:
- size: 10Gi
- omnibusConfigRuby: |
- unicorn['worker_processes'] = 2;
- gitlab_rails['trusted_proxies'] = ["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement