Tamas Kiss 149a7e6cce
Some checks are pending
continuous-integration/drone/pr Build is pending
ci: drift-detection and docs with terraform-docs
2022-06-14 00:30:57 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 01:29:23 +02:00
2022-05-26 12:35:44 +02:00
2022-05-26 01:29:23 +02:00

Terraform config for drone

Build Status

Drone is a self-hosted Continuous Integration platform. This terraform root module will create a Gitea OAuth2 application, a persistent volume for Drone and installs Drone to a Kubernetes namespace on Lawndale.

This module assumes Lawndale as the hosting environment!

Provider configurations

The following providers are used and should be configured before calling init or apply.

AWS

AWS is only used for state backend. Check out AWS Provider config.

Gitea

Either GITEA_TOKEN or GITEA_USERNAME and GITEA_PASSWORD must be set for authentication.

Kubernetes / Helm

Drone is provisioned with Helm on a kubernetes cluster.

Helm is using the same environment variables as the Kubernetes provider.

Set KUBE_CONFIG_PATH to use a kubeconfig file, and KUBE_CTX to use a different context than set in the kubeconfig.

For token auth, set KUBE_TOKEN and KUBE_HOST environment vars.

A PEM-encoded root certificates bundle for TLS authentication can be sourced by setting KUBE_CLUSTER_CA_CERT_DATA.

Sources: Kubernetes Helm

Persistent volume

Persistence is supported by terraform-modules//9p-persistent-volume.

Requirements

The following requirements are needed by this module:

Providers

The following providers are used by this module:

Modules

The following Modules are called:

drone_persistance

Source: git@git.thomasklein.me:thomasklein/terraform-modules//9p-persistent-volume

Version:

Resources

The following resources are used by this module:

Required Inputs

No required inputs.

Optional Inputs

No optional inputs.

Outputs

No outputs.

Description
No description provided
Readme 81 KiB
Languages
HCL 100%