File tree Expand file tree Collapse file tree 9 files changed +14
-16
lines changed
Expand file tree Collapse file tree 9 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 99 - package-ecosystem : " github-actions"
1010 directory : " /"
1111 schedule :
12- interval : " daily "
12+ interval : " weekly "
1313 open-pull-requests-limit : 3
1414 assignees :
1515 - " clouddrove-ci"
@@ -53,4 +53,4 @@ updates:
5353 reviewers :
5454 - " approvers"
5555 # Allow up to 3 open pull requests for pip dependencies
56- open-pull-requests-limit : 3
56+ open-pull-requests-limit : 3
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Auto Assign PRs
33on :
44 pull_request :
55 types : [opened, reopened]
6-
76 workflow_dispatch :
87jobs :
98 assign-pr :
Original file line number Diff line number Diff line change 2525 env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727
28-
2928 - name : ' pre-commit check errors'
3029 uses : pre-commit/action@v3.0.0
3130 continue-on-error : true
Original file line number Diff line number Diff line change 99 secrets :
1010 GITHUB : ${{ secrets.GITHUB }}
1111 with :
12- working_directory : ' .'
12+ working_directory : ' .'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ usage: |-
3737 ```hcl
3838 module "cluster" {
3939 source = "terraform-do-modules/cluster/digitalocean"
40- version = "0.15 .0"
40+ version = "1.0 .0"
4141 name = local.name
4242 environment = local.environment
4343 region = local.region
@@ -67,7 +67,7 @@ usage: |-
6767 ```hcl
6868 module "cluster" {
6969 source = "terraform-do-modules/cluster/digitalocean"
70- version = "0.15 .0"
70+ version = "1.0 .0"
7171 name = local.name
7272 environment = local.environment
7373 region = local.region
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ locals {
1010# # VPC module call
1111# #------------------------------------------------
1212module "vpc" {
13- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-vpc.git?ref=internal-423"
13+ source = " terraform-do-modules/vpc/digitalocean"
14+ version = " 1.0.0"
1415 name = local. name
1516 environment = local. environment
1617 region = local. region
@@ -25,7 +26,7 @@ module "cluster" {
2526 name = local. name
2627 environment = local. environment
2728 region = local. region
28- cluster_version = " 1.27.2 -do.0"
29+ cluster_version = " 1.27.4 -do.0"
2930 vpc_uuid = module. vpc . id
3031
3132 critical_node_pool = {
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ locals {
1010# # VPC module call
1111# #------------------------------------------------
1212module "vpc" {
13- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-vpc.git?ref=internal-423"
13+ source = " terraform-do-modules/vpc/digitalocean"
14+ version = " 1.0.0"
1415 name = local. name
1516 environment = local. environment
1617 region = local. region
@@ -25,7 +26,7 @@ module "cluster" {
2526 name = local. name
2627 environment = local. environment
2728 region = local. region
28- cluster_version = " 1.27.2 -do.0"
29+ cluster_version = " 1.27.4 -do.0"
2930 vpc_uuid = module. vpc . id
3031
3132 critical_node_pool = {
Original file line number Diff line number Diff line change 22# # Labels module callled that will be used for naming and tags.
33# #-----------------------------------------------------------------------------
44module "labels" {
5- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-labels.git?ref=internal-426m"
5+ source = " terraform-do-modules/labels/digitalocean"
6+ version = " 1.0.0"
67 name = var. name
78 environment = var. environment
89 managedby = var. managedby
@@ -54,16 +55,14 @@ resource "digitalocean_kubernetes_cluster" "main" {
5455 start_time = var. maintenance_policy . start_time
5556 }
5657 }
57-
5858 tags = var. tags
5959}
6060
6161# #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6262# Description : Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the digitalocean_kubernetes_cluster resource, this resource can be used to add additional ones to a cluster.
6363# #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6464resource "digitalocean_kubernetes_node_pool" "main" {
65- for_each = var. enabled ? var. app_node_pools : {}
66-
65+ for_each = var. enabled ? var. app_node_pools : {}
6766 cluster_id = join (" " , digitalocean_kubernetes_cluster. main [* ]. id )
6867 name = lookup (each. value , " name" , " application" )
6968 size = lookup (each. value , " size" , " s-1vcpu-2gb" )
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ output "maintenance_policy_day" {
4949 value = digitalocean_kubernetes_cluster. main [* ]. maintenance_policy
5050 description = " A block representing the cluster's maintenance window. Updates will be applied within this window."
5151}
52-
5352output "local_file" {
5453 value = join (" " , digitalocean_kubernetes_cluster. main [* ]. kube_config [0 ]. raw_config )
5554}
You can’t perform that action at this time.
0 commit comments