Skip to content

flexkube/terraform-provider-flexkube

Repository files navigation

Flexkube Terraform Provider Build Status Maintainability codecov Go Report Card

The Flexkube provider allows to create and manage Kubernetes cluster components using libflexkube. With this provider, you can create containers like etcd or kubelet on remote machines over SSH using Docker container runtime.

This provider also provides flexkube_helm_release resource, so you can use it to manage cluster-essential workloads like CNI plugins or CoreDNS.

Table of contents

User documentation

For user documentation, see Terraform Registry.

Building

For local builds, run make which will build the binary, run unit tests and linter.

Releasing

This project use goreleaser for releasing. To release new version, follow the following steps:

  • Add a changelog for new release to CHANGELOG.md file.

  • Update docs/index.md file to update recommended version in the example.

  • Tag new release on desired git commit, using example command:

    git tag -a v0.4.7 -s -m "Release v0.4.7"
  • Push the tag to GitHub

    git push origin v0.4.7
  • Run goreleser to create a GitHub Release:

    GITHUB_TOKEN=githubtoken GPG_FINGERPRINT=gpgfingerprint goreleaser release --release-notes <(go run github.com/rcmachado/changelog show 0.4.7)
    goreleaser
  • Go to newly create GitHub release, verify that the changelog and artefacts looks correct and publish it.

Authors

  • Mateusz Gozdek - Initial work - invidian