Skip to content

Commit 5a1cd80

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d4549a7 commit 5a1cd80

File tree

131 files changed

+154
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+154
-169
lines changed

.deepsource.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version = 1
22

33
[[analyzers]]
4-
name = "terraform"
4+
name = "terraform"

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
GITHUB: ${{ secrets.GITHUB }}
1010
with:
1111
tfcheck: 'tf-checks-complete-example / Check code format'
12-
...
12+
...

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
1111
secrets: inherit
1212
with:
13-
branch: 'master'
13+
branch: 'master'

.github/workflows/readme.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Updating GitHub Token
25-
env:
25+
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB }}
2727
run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV
2828

@@ -47,4 +47,4 @@ jobs:
4747
git-push-user-email: [email protected]
4848
git-commit-message: "readme: Update add-on's readme"
4949

50-
50+

.github/workflows/tf-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
tf-checks-basic-example:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
1414
with:
15-
working_directory: './examples/basic/'
15+
working_directory: './examples/basic/'

.github/workflows/tflint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
tf-lint:
99
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
1010
secrets:
11-
GITHUB: ${{ secrets.GITHUB }}
11+
GITHUB: ${{ secrets.GITHUB }}

.github/workflows/tfsec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
99
secrets: inherit
1010
with:
11-
working_directory: '.'
11+
working_directory: '.'

CHANGELOG.md

Lines changed: 1 addition & 1 deletion

README.md

Lines changed: 6 additions & 6 deletions

README.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ providers:
3737
version: ">= 5.10.0"
3838

3939

40-
40+
4141
# description of this project
4242
description: |-
4343
A Terraform Addons module to customize & install widely used helmchart during or after creation of your Google GKE cluster.
@@ -73,11 +73,11 @@ usage: |-
7373
```hcl
7474
module "addons" {
7575
source = "clouddrove/gke-addons/google"
76-
76+
7777
gke_cluster_name = module.gke.name
7878
project_id = local.gcp_project_id
7979
region = local.region
80-
80+
8181
cluster_autoscaler = true
8282
reloader = true
8383
ingress_nginx = true
@@ -87,7 +87,7 @@ usage: |-
8787
external_dns = true
8888
kubeclarity = true
8989
external_secrets = true
90-
90+
9191
# -- Path of override-values.yaml file
9292
cluster_autoscaler_helm_config = { values = [file("./config/override-cluster-autoscaler.yaml")] }
9393
reloader_helm_config = { values = [file("./config/reloader/override-reloader.yaml")] }
@@ -98,7 +98,7 @@ usage: |-
9898
external_dns_helm_config = { values = [file("./config/override-external-dns.yaml")] }
9999
kubeclarity_helm_config = { values = [file("./config/override-kubeclarity.yaml")] }
100100
external_secrets_helm_config = { values = [file("./config/override-externalsecret.yaml")] }
101-
101+
102102
# -- Override Helm Release attributes
103103
cluster_autoscaler_extra_configs = var.cluster_autoscaler_extra_configs
104104
reloader_extra_configs = var.reloader_extra_configs

addons/actions-runner-controller/README.md

Lines changed: 2 additions & 2 deletions

addons/actions-runner-controller/config/addons/actions-runner-controller/config/actions_runner_controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,4 +417,4 @@ actionsMetricsServer:
417417
# hosts:
418418
# - chart-example.local
419419
terminationGracePeriodSeconds: 10
420-
lifecycle: {}
420+
lifecycle: {}

addons/actions-runner-controller/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ locals {
3838
local.default_helm_config,
3939
var.helm_config
4040
)
41-
}
41+
}

addons/actions-runner-controller/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
module "helm_addon" {
33
source = "../helm"
44
helm_config = local.helm_config
5-
}
5+
}

addons/actions-runner-controller/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ output "chart_version" {
88

99
output "repository" {
1010
value = local.default_helm_config.repository
11-
}
11+
}

addons/actions-runner-controller/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ variable "actions_runner_controller_extra_configs" {
88
description = "Override attributes of helm_release terraform resource"
99
type = any
1010
default = {}
11-
}
11+
}

addons/actions-runner-controller/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ terraform {
1111
version = ">= 2.10"
1212
}
1313
}
14-
}
14+
}

addons/cert-manager/README.md

Lines changed: 1 addition & 1 deletion

addons/cert-manager/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ locals {
3838
local.default_helm_config,
3939
var.helm_config
4040
)
41-
}
41+
}

addons/cert-manager/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module "helm_addon" {
22
source = "../helm"
33
helm_config = local.helm_config
4-
}
4+
}

addons/cert-manager/output.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ output "chart_version" {
88

99
output "repository" {
1010
value = local.default_helm_config.repository
11-
}
11+
}

addons/cert-manager/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ variable "certification_manager_extra_configs" {
99
type = any
1010
default = {}
1111
}
12-

addons/cert-manager/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ terraform {
1111
version = ">= 2.10"
1212
}
1313
}
14-
}
14+
}

addons/cluster-autoscaler/README.md

Lines changed: 1 addition & 1 deletion

addons/cluster-autoscaler/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ locals {
3737
local.default_helm_config,
3838
var.helm_config,
3939
)
40-
}
40+
}

addons/cluster-autoscaler/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ resource "google_project_iam_member" "member-role" {
4242
member = "serviceAccount:${local.name}-sa@${var.project_id}.iam.gserviceaccount.com"
4343
project = var.project_id
4444
}
45-

addons/cluster-autoscaler/output.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ output "chart_version" {
88

99
output "repository" {
1010
value = local.default_helm_config.repository
11-
}
11+
}

addons/cluster-autoscaler/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ variable "project_id" {
1919
description = "GCP project ID"
2020
type = string
2121
}
22-

addons/cluster-autoscaler/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ terraform {
1111
version = ">= 2.10"
1212
}
1313
}
14-
}
14+
}

addons/external-dns/README.md

Lines changed: 2 additions & 2 deletions

addons/external-dns/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ locals {
3737
local.default_helm_config,
3838
var.helm_config,
3939
)
40-
}
40+
}

addons/external-dns/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ resource "kubernetes_secret" "external_dns_secret" {
5252
"credentials.json" = base64decode(google_service_account_key.external_dns_key.private_key)
5353
}
5454
}
55-

addons/external-dns/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ output "chart_version" {
88

99
output "repository" {
1010
value = local.default_helm_config.repository
11-
}
11+
}

addons/external-dns/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ variable "project_id" {
1414
description = "GCP project ID"
1515
type = string
1616
}
17-

addons/external-dns/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ terraform {
1111
version = ">= 2.10"
1212
}
1313
}
14-
}
14+
}

addons/external-secrets/README.md

Lines changed: 2 additions & 2 deletions

addons/external-secrets/config/externalsecret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ spec:
1717
property: cert.key # optional field Label to match exactly
1818
- secretKey: test
1919
remoteRef:
20-
key: test # name of the GCPSM secret key
20+
key: test # name of the GCPSM secret key

addons/external-secrets/config/secretstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ metadata:
55
spec:
66
provider:
77
gcpsm:
8-
projectID: ""
8+
projectID: ""

addons/external-secrets/config/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ webhook:
3030
create: true
3131
certCheckInterval: "5m"
3232
replicaCount: 1
33-
affinity: {}
33+
affinity: {}
3434
resources: {}
3535
podAnnotations:
3636
co.elastic.logs/enabled: "true"
@@ -58,4 +58,4 @@ certController:
5858
enabled: ${enable_service_monitor}
5959
additionalLabels:
6060
release: "prometheus-operator"
61-
interval: 30s
61+
interval: 30s

addons/external-secrets/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ locals {
3838
local.default_helm_config,
3939
var.helm_config,
4040
)
41-
}
41+
}

addons/external-secrets/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ resource "google_project_iam_member" "secretadmin" {
3838
role = each.key
3939
member = "serviceAccount:${local.name}-sa@${var.project_id}.iam.gserviceaccount.com"
4040
}
41-

0 commit comments

Comments
 (0)