Skip to content

Commit

Permalink
Merge pull request #2745 from LorbusChris/gomod
Browse files Browse the repository at this point in the history
Go Modules Migration
  • Loading branch information
openshift-merge-robot committed Feb 19, 2020
2 parents a0e7ded + d02d3f0 commit a479310
Show file tree
Hide file tree
Showing 14,211 changed files with 3,778,672 additions and 4,096,268 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1,578 changes: 0 additions & 1,578 deletions Gopkg.lock

This file was deleted.

156 changes: 0 additions & 156 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion data/assets_generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build ignore
// +build tools

package main

Expand Down
2 changes: 2 additions & 0 deletions data/data/aws/vpc/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ resource "aws_vpc_endpoint" "s3" {
aws_route_table.private_routes.*.id,
aws_route_table.default.*.id,
)

tags = var.tags
}

resource "aws_vpc_dhcp_options" "main" {
Expand Down
2 changes: 1 addition & 1 deletion data/data/azure/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ resource "azurerm_network_interface" "bootstrap" {
primary : ! var.use_ipv4,
name : local.bootstrap_nic_ip_v6_configuration_name,
ip_address_version : "IPv6",
public_ip_id : var.private ? null : azurerm_public_ip.bootstrap_public_ip_v6[0].id,
public_ip_id : var.private || ! var.use_ipv6 ? null : azurerm_public_ip.bootstrap_public_ip_v6[0].id,
include : var.use_ipv6,
},
] : {
Expand Down
1 change: 0 additions & 1 deletion data/data/azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ resource "azurerm_storage_blob" "rhcos_image" {
type = "block"
source_uri = var.azure_image_url
metadata = map("source_uri", var.azure_image_url)
attempts = 2
}

resource "azurerm_image" "cluster" {
Expand Down
2 changes: 1 addition & 1 deletion data/data/azure/vnet/public-lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "azurerm_lb" "public" {
for_each = [for ip in [
// DEBUG: Azure apparently requires dual stack LB for external load balancers v6
{ name : local.public_lb_frontend_ip_v4_configuration_name, value : azurerm_public_ip.cluster_public_ip_v4[0].id, include : true, ipv6 : false },
{ name : local.public_lb_frontend_ip_v6_configuration_name, value : azurerm_public_ip.cluster_public_ip_v6[0].id, include : var.use_ipv6, ipv6 : true },
{ name : local.public_lb_frontend_ip_v6_configuration_name, value : var.use_ipv6 ? azurerm_public_ip.cluster_public_ip_v6[0].id : null, include : var.use_ipv6, ipv6 : true },
] : {
name : ip.name
value : ip.value
Expand Down
6 changes: 3 additions & 3 deletions data/data/gcp/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ resource "google_storage_bucket" "ignition" {
}

resource "google_storage_bucket_object" "ignition" {
bucket = "${google_storage_bucket.ignition.name}"
bucket = google_storage_bucket.ignition.name
name = "bootstrap.ign"
content = var.ignition
}

data "google_storage_object_signed_url" "ignition_url" {
bucket = "${google_storage_bucket.ignition.name}"
bucket = google_storage_bucket.ignition.name
path = "bootstrap.ign"
duration = "1h"
}

data "ignition_config" "redirect" {
replace {
source = "${data.google_storage_object_signed_url.ignition_url.signed_url}"
source = data.google_storage_object_signed_url.ignition_url.signed_url
}
}

Expand Down
2 changes: 1 addition & 1 deletion data/data/openstack/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ resource "openstack_networking_floatingip_v2" "bootstrap_fip" {
port_id = openstack_networking_port_v2.bootstrap_port.id
tags = ["openshiftClusterID=${var.cluster_id}"]

depends_on = ["openstack_compute_instance_v2.bootstrap"]
depends_on = [openstack_compute_instance_v2.bootstrap]
}
2 changes: 1 addition & 1 deletion data/data/openstack/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ resource "openstack_images_image_v2" "base_image" {
data "openstack_images_image_v2" "base_image" {
name = var.openstack_base_image_name

depends_on = ["openstack_images_image_v2.base_image"]
depends_on = [openstack_images_image_v2.base_image]
}
2 changes: 1 addition & 1 deletion data/data/openstack/masters/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data "ignition_config" "master_ignition_config" {
}

files = [
element(data.ignition_file.hostname.*.id, count.index)
element(data.ignition_file.hostname.*.rendered, count.index)
]
}

Expand Down

0 comments on commit a479310

Please sign in to comment.