{"id":20376415,"url":"https://github.com/drupalwxt/terraform-kubernetes-drupalwxt","last_synced_at":"2026-05-08T11:37:48.606Z","repository":{"id":74502056,"uuid":"200739060","full_name":"drupalwxt/terraform-kubernetes-drupalwxt","owner":"drupalwxt","description":"Terraform module for Drupal WxT","archived":false,"fork":false,"pushed_at":"2025-05-19T16:08:14.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-19T17:26:18.531Z","etag":null,"topics":["kubernetes","terraform"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drupalwxt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-05T22:46:59.000Z","updated_at":"2025-05-19T16:08:18.000Z","dependencies_parsed_at":"2023-05-16T12:15:27.910Z","dependency_job_id":"b66527dc-2f34-4196-b0e2-a91b84b8c7c7","html_url":"https://github.com/drupalwxt/terraform-kubernetes-drupalwxt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drupalwxt/terraform-kubernetes-drupalwxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fterraform-kubernetes-drupalwxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fterraform-kubernetes-drupalwxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fterraform-kubernetes-drupalwxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fterraform-kubernetes-drupalwxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drupalwxt","download_url":"https://codeload.github.com/drupalwxt/terraform-kubernetes-drupalwxt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fterraform-kubernetes-drupalwxt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32779108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","terraform"],"created_at":"2024-11-15T01:37:23.342Z","updated_at":"2026-05-08T11:37:48.600Z","avatar_url":"https://github.com/drupalwxt.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Kubernetes for Drupal WxT\n\n## Introduction\n\nThis module deploys and configures Drupal WxT inside a Kubernetes Cluster.\n\n## Security Controls\n\nThe following security controls can be met through configuration of this template:\n\n- TBD\n\n## Dependencies\n\n- None\n\n## Optional (depending on options configured)\n\n- None\n\n## Usage\n\n```terraform\nmodule \"helm_drupalwxt\" {\n  source = \"git::https://github.com/drupalwxt/terraform-kubernetes-drupalwxt.git\"\n\n  chart_version = \"0.6.8\"\n  depends_on = [\n    module.namespace_drupal,\n    module.drupal_database,\n  ]\n\n  helm_namespace  = \"drupal\"\n  helm_repository = \"https://drupalwxt.github.io/helm-drupal\"\n\n  values = \u003c\u003cEOF\ningress:\n  enabled: true\n  annotations:\n    kubernetes.io/ingress.class: nginx\n    kubernetes.io/tls-acme: \"true\"\n    kubernetes.io/ingress.class: istio\n  path: /*\n  hosts:\n    - drupal.${var.ingress_domain}\n\ndrupal:\n  ## Drupal image version\n  ## ref: https://hub.docker.com/drupalwxt/site-wxt/tags/\n  ##\n  image: drupalwxt/site-wxt\n\n  ## Note that by default we use appVersion to get image tag\n  tag: 6.1.0\n\n  ## Site configuration\n  ##\n  profile: wxt\n  siteEmail: admin@example.com\n  siteName: Drupal Install Profile (WxT)\n\n  ## User of the application\n  ##\n  username: admin\n\n  ## Application password\n  ##\n  password: ${var.drupal_password}\n\n  # php-fpm healthcheck\n  # Requires https://github.com/renatomefi/php-fpm-healthcheck in the container.\n  # (note: official images do not contain this feature yet)\n  healthcheck:\n    enabled: true\n\n  # Switch to canada.ca theme (only used if install and/or reconfigure are enabled)\n  # Common options include: theme-wet-boew, theme-gcweb-legacy\n  wxtTheme: theme-gcweb\n\n  ## Extra settings.php settings\n  ##\n  extraSettings: |-\n    $settings['trusted_host_patterns'] = ['^drupal\\.example\\.ca$', '^drupalwxt-nginx$'];\n\n  ## Extra CLI scripts\n  ##\n  extraInstallScripts: ''\n  #  |-\n  #  drush config-set system.performance js.preprocess 0 -y;\n  #  drush config-set system.performance css.preprocess 0 -y;\n\n  # Install Drupal automatically\n  install: true\n\n  # Run migrations for default content\n  migrate: true\n\n  # Reconfigure on upgrade\n  reconfigure: true\n\n  # php-fpm healthcheck\n  # Requires https://github.com/renatomefi/php-fpm-healthcheck in the container.\n  # (note: official images do not contain this feature yet)\n  healthcheck:\n    enabled: true\n\n  # Allows custom /var/www/html/sites/default/files and /var/www/private mounts\n  disableDefaultFilesMount: true\n\n  # kubectl create secret generic drupal-storage --from-literal=azurestorageaccountname=$STORAGE_ACCOUNT_NAME --from-literal=azurestorageaccountkey=$STORAGE_KEY -n drupal\n  volumes:\n    - name: files-public\n      azureFile:\n        secretName: drupal-storage\n        shareName: drupal-public\n    - name: files-private\n      azureFile:\n        secretName: drupal-storage\n        shareName: drupal-private\n\n  volumeMounts:\n    - name: files-public\n      mountPath: /var/www/html/sites/default/files\n    - name: files-private\n      mountPath: /var/www/private\n\n  initContainers:\n    # Pre-create the media-icons folder\n    - name: init-media-icons-folder\n      image: alpine:3.10\n      command:\n        - mkdir\n        - -p\n        - /files/media-icons/generic\n      volumeMounts:\n        - name: files-public\n          mountPath: /files\n\nnginx:\n  tag: 6.1.0\n\n  # Set your cluster's DNS resolution service here\n  resolver: 10.0.0.10\n\n  # kubectl create secret generic drupal-storage --from-literal=azurestorageaccountname=$STORAGE_ACCOUNT_NAME --from-literal=azurestorageaccountkey=$STORAGE_KEY -n drupal\n  volumes:\n    - name: files-public\n      azureFile:\n        secretName: drupal-storage\n        shareName: drupal-public\n\n  volumeMounts:\n    - name: files-public\n      mountPath: /var/www/html/sites/default/files\n\nexternal:\n  enabled: true\n  driver: pgsql\n  port: 5432\n  host: 127.0.0.1\n  database: drupal\n  user: ${module.drupal_database.administrator_login}@${module.drupal_database.name}\n  password: ${var.managed_postgresql_password}\n\nfiles:\n  provider: none\n\nminio:\n  enabled: false\n\nmysql:\n  enabled: false\n\npostgresql:\n  enabled: false\n  pgbouncer:\n    enabled: true\n    host: ${module.drupal_database.name}.postgres.database.azure.com\n    user: ${module.drupal_database.administrator_login}@${module.drupal_database.name}\n    password: ${var.managed_postgresql_password}\n    poolSize: 25\n    maxClientConnections: 500\n\nredis:\n  enabled: true\n\nvarnish:\n  enabled: true\nEOF\n}\n```\n\n## Variables Values\n\n| Name            | Type   | Required | Value                                           |\n| --------------- | ------ | -------- | ----------------------------------------------- |\n| chart_version   | string | yes      | Version of the Helm Chart                       |\n| helm_namespace  | string | yes      | The namespace Helm will install the chart under |\n| helm_repository | string | yes      | The repository where the Helm chart is stored   |\n| values          | list   | no       | Values to be passed to the Helm Chart           |\n\n## History\n\n| Date     | Release    | Change                                                 |\n| -------- | ---------- | ------------------------------------------------------ |\n| 20210829 | 20210829.1 | Update to latest Terraform compatibility 1.0.x         |\n| 20190909 | 20190909.1 | 1st release                                            |\n| 20191220 | 20191220.1 | Updates to specification as Azure File is now in chart |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fterraform-kubernetes-drupalwxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrupalwxt%2Fterraform-kubernetes-drupalwxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fterraform-kubernetes-drupalwxt/lists"}