Skip to content

Commit

Permalink
feat(chart)!: major update of dependencies on traefik chart (#77)
Browse files Browse the repository at this point in the history
* feat(chart)!: major update of dependencies on traefik chart

* fix: add support for the breaking change to activate the ServiceMonitor

* docs(terraform-docs): generate docs and write to README.adoc

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Gonçalo Heleno <[email protected]>
Co-authored-by: lentidas <[email protected]>
  • Loading branch information
3 people authored Jul 10, 2024
1 parent 56dfbef commit cb2daac
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 26 deletions.
12 changes: 6 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:traefik-chart-version: 26.1.0
:traefik-chart-version: 29.0.1

// BEGIN_TF_DOCS
=== Requirements
Expand All @@ -15,11 +15,11 @@ The following requirements are needed by this module:

The following providers are used by this module:

- [[provider_utils]] <<provider_utils,utils>> (>= 1)
- [[provider_null]] <<provider_null,null>> (>= 3)

- [[provider_argocd]] <<provider_argocd,argocd>> (>= 5)

- [[provider_null]] <<provider_null,null>> (>= 3)
- [[provider_utils]] <<provider_utils,utils>> (>= 1)

=== Resources

Expand Down Expand Up @@ -65,7 +65,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -178,8 +178,8 @@ Description: ID to pass other modules in order to refer to this module as a depe
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 5
|[[provider_utils]] <<provider_utils,utils>> |>= 1
|[[provider_null]] <<provider_null,null>> |>= 3
|===

Expand Down Expand Up @@ -221,7 +221,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
4 changes: 2 additions & 2 deletions aks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -223,7 +223,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
6 changes: 3 additions & 3 deletions charts/traefik/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: traefik
repository: https://helm.traefik.io/traefik
version: 26.1.0
digest: sha256:55cb0a1517e726561d6c370c82e4f5755a94fc6e101da50453072edef6476a99
generated: "2024-02-23T13:39:25.835538904Z"
version: 29.0.1
digest: sha256:dcbaad7b0aa9d3efc2f59c8528ef88ce0b31c06f179f98595405489fcd4f92d6
generated: "2024-07-10T07:06:26.482292205Z"
2 changes: 1 addition & 1 deletion charts/traefik/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
dependencies:
- name: traefik
repository: https://helm.traefik.io/traefik
version: 26.1.0
version: 29.0.1
description: |
This chart installs Traefik and configures it as the default Kubernetes cluster Ingress Controller.
name: traefik
Expand Down
Binary file removed charts/traefik/charts/traefik-26.1.0.tgz
Binary file not shown.
Binary file added charts/traefik/charts/traefik-29.0.1.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions eks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -195,7 +195,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
4 changes: 2 additions & 2 deletions kind/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -227,7 +227,7 @@ Description: External IP address of Traefik LB service.
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
7 changes: 3 additions & 4 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ locals {
service = {
enabled = true
}
serviceMonitor = var.enable_service_monitor ? {
# Dummy attribute to make serviceMonitor evaluate to true in a condition in the Helm chart
foo = "bar"
} : {}
serviceMonitor = {
enabled = var.enable_service_monitor
}
}
}
additionalArguments = [
Expand Down
4 changes: 2 additions & 2 deletions nodeport/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -195,7 +195,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
4 changes: 2 additions & 2 deletions scaleway/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -195,7 +195,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down
4 changes: 2 additions & 2 deletions sks/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Description: Override of target revision of the application chart.

Type: `string`

Default: `"v6.2.0"`
Default: `"v6.3.0"`

==== [[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>

Expand Down Expand Up @@ -235,7 +235,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
|[[input_target_revision]] <<input_target_revision,target_revision>>
|Override of target revision of the application chart.
|`string`
|`"v6.2.0"`
|`"v6.3.0"`
|no

|[[input_enable_service_monitor]] <<input_enable_service_monitor,enable_service_monitor>>
Expand Down

0 comments on commit cb2daac

Please sign in to comment.