Problem to solve
gitlab settup with AKS cluster via helm chart custom values.yaml
sidekiq pod logs option ‘provider’ not defined. webserver pod logs Unable to load application: GitlabSettings::MissingSetting: option ‘provider’ not defined"}
Expectation:
it should use built-in auth method which is using username/password instead of requiring a ‘provider’
Kindly share any suggestion
- Logs details
Steps to reproduce
Run terraform apply
Documents that I’m following:
Configure charts using globals | GitLab
Troubleshooting the GitLab chart | GitLab
Configuration
terraform resource
resource "helm_release" "gitlab" {
name = "gitlab"
repository = "https://charts.gitlab.io/"
chart = "gitlab"
namespace = "gitlab"
version = "8.5.0"
create_namespace = true
timeout = 600
values = [templatefile("./helm-values/gitlab/values.yaml", {
host_domain_name = var.gitlab["domain_name"]
})]
}
gitlab helm chart values.yaml
global:
## https://docs.gitlab.com/charts/installation/deployment#deploy-the-community-edition
edition: ce
## https://docs.gitlab.com/charts/charts/globals#gitlab-version
gitlabVersion: "17.5.0"
## https://docs.gitlab.com/charts/charts/globals#configure-host-settings
hosts:
domain: "${host_domain_name}"
https: true
## https://docs.gitlab.com/charts/charts/globals#configure-ingress-settings
ingress:
configureCertmanager: false
class: azure-application-gateway
annotations:
appgw.ingress.kubernetes.io/appgw-ssl-certificate: "certificate-upload"
appgw.ingress.kubernetes.io/ssl-redirect: "true"
# appgw.ingress.kubernetes.io/use-private-ip: "true"
enabled: true
tls:
enabled: false
secretName:
path: /
pathType: Prefix
## https://docs.gitlab.com/charts/charts/globals#configure-gitaly-settings
gitaly:
enabled: true
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/globals#configure-minio-settings
minio:
enabled: false
## https://docs.gitlab.com/charts/charts/globals#configure-appconfig-settings
## Rails based portions of this chart share many settings
appConfig:
lfs:
enabled: true
proxy_download: true
bucket: git-lfs
connection: ####{}
secret: "backup-azure-creds"
key: "config"
artifacts:
enabled: true
proxy_download: true
bucket: gitlab-artifacts
connection: ####{}
secret: "backup-azure-creds"
key: "config"
uploads:
enabled: true
proxy_download: true
bucket: gitlab-uploads
connection: ####{}
secret: "backup-azure-creds"
key: "config"
packages:
enabled: true
proxy_download: true
bucket: gitlab-packages
connection: ####{}
secret: "backup-azure-creds"
key: "config"
backups:
bucket: "gitlab-backup-storage" ####
tmpBucket: "gitlab-tmp-storage" ####
## End of global.appConfig
## https://docs.gitlab.com/charts/charts/globals#configure-registry-settings
registry:
# Settings utilized by other services referencing registry:
enabled: false
## End of global
upgradeCheck:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## Installation & configuration of jetstack/cert-manager
## See requirements.yaml for current version
certmanager:
install: false
## https://docs.gitlab.com/charts/charts/nginx/
## https://docs.gitlab.com/charts/architecture/decisions#nginx-ingress
## Installation & configuration of charts/ingress-nginx:
nginx-ingress: &nginx-ingress
enabled: false
## Installation & configuration of stable/prometheus
## See requirements.yaml for current version
prometheus:
install: false
## Configuration of Redis
## https://docs.gitlab.com/charts/architecture/decisions#redis
## https://docs.gitlab.com/charts/installation/deployment.html#redis
redis:
install: true
auth:
existingSecret: gitlab-redis-secret
existingSecretKey: redis-password
usePasswordFiles: true
architecture: standalone
master: ####
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## Installation & configuration of stable/postgresql
## See requirements.yaml for current version
postgresql:
primary:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## Installation & configuration charts/registry
## https://docs.gitlab.com/charts/architecture/decisions#registry
## https://docs.gitlab.com/charts/charts/registry/
registry:
enabled: false
## Automatic shared secret generation
## https://docs.gitlab.com/charts/installation/secrets
## https://docs.gitlab.com/charts/charts/shared-secrets.html
shared-secrets:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## Installation & configuration of gitlab/gitlab-runner
## See requirements.yaml for current version
gitlab-runner:
install: false
## Settings for individual sub-charts under GitLab
## Note: Many of these settings are configurable via globals
gitlab:
## https://docs.gitlab.com/charts/charts/gitlab/toolbox
toolbox:
backups: ####
objectStorage:
backend: "azure"
config:
secret: "backup-azure-creds"
key: "config"
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/migrations
migrations:
enabled: true
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/webservice
webservice:
enabled: true
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/sidekiq
sidekiq:
enabled: true
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/gitaly
gitaly:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/gitlab-shell
gitlab-shell:
enabled: true
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/gitlab-pages
# gitlab-pages:
## https://docs.gitlab.com/charts/charts/gitlab/kas
kas:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
## https://docs.gitlab.com/charts/charts/gitlab/praefect
# praefect:
#### https://docs.gitlab.com/charts/charts/gitlab/gitlab-exporter
gitlab-exporter:
tolerations:
- key: "gitlab"
operator: "Equal"
value: "true"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "release"
operator: In
values:
- "gitlab"
Versions
- Self-managed
Versions
- Gitlab helm chart version 8.5.0
- Gitlab version 17.5
Infrastructure-as-Code
- Terraform: hashicorp/azurerm version 3.103.1
Cloud-native
- Agent for Kubernetes (
Operate > Kubernetes clusters
): - Kubernetes (
kubectl version
): 128.10
Helpful resources
- Check the FAQ for helpful documentation, issues/bugs/feature proposals, and troubleshooting tips.
- Before opening a new topic, make sure to search for keywords in the forum search
- Check the GitLab project for existing issues. If you encounter a bug, please create a bug report issue.
- Review existing troubleshooting docs.
Thanks for taking the time to be thorough in your request, it really helps!