Skip to content

Commit

Permalink
Merge pull request #5 from aigisuk/develop
Browse files Browse the repository at this point in the history
⚡ update default chart version to 10.14.0
  • Loading branch information
colinwilson authored Feb 7, 2022
2 parents 1d5f74b + d8bdab6 commit ca458ba
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Terraform'

on:
pull_request:

jobs:
terraform:
name: 'Terraform Format'
runs-on: ubuntu-20.04

defaults:
run:
shell: bash

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1

- name: Terraform Format
run: terraform fmt -check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A Terraform module to provision [Traefik](https://traefik.io/traefik/) (v2.x) on
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| namespace | Namespace to install traefik chart into (created if non-existent on target cluster) | string | `traefik` | no |
| traefik_chart_version | Version of Traefik chart to install | string | `10.9.1` | no |
| traefik_chart_version | Version of Traefik chart to install | string | `10.14.0` | no |
| timeout_seconds | Helm chart deployment can sometimes take longer than the default 5 minutes. Set a custom timeout (secs) | number | `800` | no |
| replica_count | Number of replica pods to create | number | `1` | no |
| values_file | Name of the traefik helm chart values file to use | string | `values.yaml` | no |
2 changes: 1 addition & 1 deletion chart.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "helm_release" "traefik" {
namespace = var.namespace
create_namespace = true
name = "traefik-v${replace(var.traefik_chart_version, ".", "-")}"
name = "traefik"
repository = "https://helm.traefik.io/traefik"
chart = "traefik"
version = var.traefik_chart_version
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "namespace" {
variable "traefik_chart_version" {
description = "Version of Traefik chart to install"
type = string
default = "10.9.1" # See https://artifacthub.io/packages/helm/traefik/traefik for latest version(s)
default = "10.14.0" # See https://artifacthub.io/packages/helm/traefik/traefik for latest version(s)
}

# Helm chart deployment can sometimes take longer than the default 5 minutes
Expand Down

0 comments on commit ca458ba

Please sign in to comment.