Skip to content

Commit 4d3c4e7

Browse files
github-actions[bot]Sean Sundberg
andauthored
Changes by create-pull-request action (#116)
* Bumps ibm-container-platform to v1.11.2 (and picks up kubeconfig update) * Updates olm path to k8s-olm and bumps to v1.2.0 * Bumps argocd module to v2.8.0 * Bumps tekton module to v1.3.3 * Updates namespace repo to k8s-namespace and bumps to v2.2.0 for tools_namespace and sre_namespace * Updates references to tools_namespace in other modules * Removes unused release namespaces variable (dev, test, and staging) * Updates runTerraform to remove reference to dev, test, and staging namespaces * Updates serviceaccount repo path to k8s-serviceaccount and bumps to v1.4.0 * Updates verify-pr workflow to skip destroy for now * Removes ocp3 from test matrix Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Sundberg <[email protected]>
1 parent 5d6df15 commit 4d3c4e7

20 files changed

+35
-48
lines changed

.github/workflows/verify-pr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
platform: [iks118_vpc, ocp3, ocp4]
19+
platform: [iks118_vpc, ocp4_vpc]
2020
# max-parallel: 1
2121
fail-fast: false
2222

@@ -70,10 +70,10 @@ jobs:
7070
# ./validate-deploy.sh ${{ matrix.platform }} ${{ env.NAMESPACE }}
7171

7272
# Destroy
73-
- name: Destroy ${{ matrix.platform }}
74-
run: |
75-
cd /tmp/workspace
76-
./destroy.sh
73+
# - name: Destroy ${{ matrix.platform }}
74+
# run: |
75+
# cd /tmp/workspace
76+
# ./destroy.sh
7777

7878
# Test destroy
7979
# - name: Validate destroy ${{ matrix.platform }}

terraform/runTerraform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if [[ "${CLUSTER_EXISTS}" == "false" ]]; then
153153
else
154154
echo -e " - Use an existing \033[1;33m${CLUSTER_TYPE}\033[0m cluster instance named \033[1;33m${CLUSTER_NAME}\033[0m${MANAGED_BY}"
155155
echo ""
156-
echo -e "\033[1;31mBefore configuring the environment the following namespaces and their contents will be destroyed: tools, dev, test, staging\033[0m"
156+
echo -e "\033[1;31mBefore configuring the environment the following namespaces and their contents will be destroyed: tools and ibm-observe\033[0m"
157157
fi
158158

159159
if [[ "crc" == "${CLUSTER_MANAGEMENT}" ]]; then

terraform/stages/catalog/stage3-appid.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module "dev_infrastructure_appid" {
44
resource_group_name = module.dev_cluster.resource_group_name
55
resource_location = module.dev_cluster.region
66
cluster_id = module.dev_cluster.id
7-
namespaces = concat([module.dev_cluster_namespaces.tools_namespace_name], module.dev_cluster_namespaces.release_namespaces)
8-
namespace_count = var.release_namespace_count+1
7+
namespaces = [module.dev_tools_namespace.name]
8+
namespace_count = 1
99
name_prefix = var.name_prefix
1010
tags = [module.dev_cluster.tag]
1111
}

terraform/stages/catalog/stage3-cloud_object_storage.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module "dev_infrastructure_cos" {
44
resource_group_name = module.dev_cluster.resource_group_name
55
resource_location = module.dev_cluster.region
66
cluster_id = module.dev_cluster.id
7-
namespaces = module.dev_cluster_namespaces.release_namespaces
7+
namespaces = module.dev_tools_namespace.name
88
namespace_count = var.release_namespace_count
99
name_prefix = var.name_prefix
1010
}

terraform/stages/catalog/stage3-cloudant.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module "dev_infrastructure_cloudant" {
44
resource_group_name = module.dev_cluster.resource_group_name
55
resource_location = module.dev_cluster.region
66
cluster_id = module.dev_cluster.id
7-
namespaces = module.dev_cluster_namespaces.release_namespaces
7+
namespaces = module.dev_tools_namespace.name
88
namespace_count = var.release_namespace_count
99
name_prefix = var.name_prefix
1010
}

terraform/stages/catalog/stage3-postgres.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module "dev_infrastructure_postgres" {
55
resource_location = var.region
66
server_exists = var.postgres_server_exists
77
cluster_id = module.dev_cluster.id
8-
namespaces = concat([module.dev_cluster_namespaces.tools_namespace_name], module.dev_cluster_namespaces.release_namespaces)
9-
namespace_count = var.release_namespace_count+1
8+
namespaces = [module.dev_tools_namespace.name]
9+
namespace_count = 1
1010
name_prefix = var.name_prefix
1111
tags = [module.dev_cluster.tag]
1212
}

terraform/stages/stage1-cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "dev_cluster" {
2-
source = "github.com/ibm-garage-cloud/terraform-ibm-container-platform.git?ref=v1.11.0"
2+
source = "github.com/ibm-garage-cloud/terraform-ibm-container-platform.git?ref=v1.11.2"
33

44
resource_group_name = var.resource_group_name
55
cluster_name = var.cluster_name

terraform/stages/stage1-namespaces.tf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
module "dev_cluster_namespaces" {
2-
source = "github.com/ibm-garage-cloud/terraform-cluster-namespace.git?ref=v1.1.0"
1+
module "dev_tools_namespace" {
2+
source = "github.com/ibm-garage-cloud/terraform-k8s-namespace.git?ref=v2.2.0"
33

44
cluster_type = module.dev_cluster.type_code
55
cluster_config_file_path = module.dev_cluster.config_file_path
66
tls_secret_name = module.dev_cluster.tls_secret_name
7-
tools_namespace = var.tools_namespace
8-
release_namespaces = var.release_namespaces
7+
name = var.tools_namespace
98
}
109

1110
module "dev_sre_namespace" {
12-
source = "github.com/ibm-garage-cloud/terraform-cluster-namespace.git?ref=v2.1.0"
11+
source = "github.com/ibm-garage-cloud/terraform-k8s-namespace.git?ref=v2.2.0"
1312

1413
cluster_type = module.dev_cluster.type_code
1514
cluster_config_file_path = module.dev_cluster.config_file_path

terraform/stages/stage1-olm.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "dev_software_olm" {
2-
source = "github.com/ibm-garage-cloud/terraform-software-olm.git?ref=v1.1.0"
2+
source = "github.com/ibm-garage-cloud/terraform-k8s-olm.git?ref=v1.2.0"
33

44
cluster_config_file = module.dev_cluster.config_file_path
55
cluster_version = ""

terraform/stages/stage2-argocd.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module "dev_tools_argocd" {
2-
source = "github.com/ibm-garage-cloud/terraform-tools-argocd.git?ref=v2.7.0"
2+
source = "github.com/ibm-garage-cloud/terraform-tools-argocd.git?ref=v2.8.0"
33

44
cluster_config_file = module.dev_cluster.config_file_path
55
cluster_type = module.dev_cluster.type_code
66
olm_namespace = module.dev_software_olm.olm_namespace
77
operator_namespace = module.dev_software_olm.target_namespace
8-
app_namespace = module.dev_cluster_namespaces.tools_namespace_name
98
ingress_subdomain = module.dev_cluster.ingress_hostname
9+
app_namespace = module.dev_tools_namespace.name
1010
name = "argocd"
1111
}

0 commit comments

Comments
 (0)