Skip to content

Commit

Permalink
Upgrade terraform-provider-rancher2 to v4.1.0 (#413)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-rancher2`.

---

- Upgrading terraform-provider-rancher2 from 4.0.0  to 4.1.0.
	Fixes #408
  • Loading branch information
iwahbe authored Mar 12, 2024
1 parent 383b5d0 commit 4074f82
Show file tree
Hide file tree
Showing 51 changed files with 6,151 additions and 316 deletions.
50 changes: 50 additions & 0 deletions provider/cmd/pulumi-resource-rancher2/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1721,6 +1721,31 @@
}
}
},
"rancher2_pod_security_admission_configuration_template": {
"current": "rancher2:index/podSecurityAdmissionConfigurationTemplate:PodSecurityAdmissionConfigurationTemplate",
"majorVersion": 6,
"fields": {
"defaults": {
"maxItemsOne": true
},
"exemptions": {
"maxItemsOne": true,
"elem": {
"fields": {
"namespaces": {
"maxItemsOne": false
},
"runtime_classes": {
"maxItemsOne": false
},
"usernames": {
"maxItemsOne": false
}
}
}
}
}
},
"rancher2_pod_security_policy_template": {
"current": "rancher2:index/podSecurityPolicyTemplate:PodSecurityPolicyTemplate",
"majorVersion": 6,
Expand Down Expand Up @@ -3316,6 +3341,31 @@
}
}
},
"rancher2_pod_security_admission_configuration_template": {
"current": "rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate",
"majorVersion": 6,
"fields": {
"defaults": {
"maxItemsOne": true
},
"exemptions": {
"maxItemsOne": true,
"elem": {
"fields": {
"namespaces": {
"maxItemsOne": false
},
"runtime_classes": {
"maxItemsOne": false
},
"usernames": {
"maxItemsOne": false
}
}
}
}
}
},
"rancher2_pod_security_policy_template": {
"current": "rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate",
"majorVersion": 6,
Expand Down
300 changes: 296 additions & 4 deletions provider/cmd/pulumi-resource-rancher2/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0
github.com/pulumi/pulumi/sdk/v3 v3.108.1
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240205172342-160eda274458
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240306215549-383a664a3660
)

require (
Expand Down
7 changes: 4 additions & 3 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1944,8 +1944,9 @@ github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg78
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls=
github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68=
github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M=
github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8=
github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw=
github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0=
github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY=
Expand Down Expand Up @@ -2982,8 +2983,8 @@ github.com/rancher/rancher/pkg/client v0.0.0-20230901132600-5e1ee2611616 h1:4GkR
github.com/rancher/rancher/pkg/client v0.0.0-20230901132600-5e1ee2611616/go.mod h1:eDLHGs0Wrq0gvAY3YCBPbWatkhj1/R+lg04S3slbroY=
github.com/rancher/rke v1.5.0-rc2 h1:gec//2jkyEimO/fZLMMRVAJF8GpKqDf3voe+k3jrhGg=
github.com/rancher/rke v1.5.0-rc2/go.mod h1:wUwsm6dXyzzxWlVwmPPR5XMWX6ICjAdWJ+l45ZqV+P0=
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240205172342-160eda274458 h1:MGlZd1WPuLUvZ8Neojyd2vKR5raT8SgbSKuoo5yEfyE=
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240205172342-160eda274458/go.mod h1:MTQSBIbx2Ru6D6Xmu+5GQv4t20e5N/wxbMuBsvss+AE=
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240306215549-383a664a3660 h1:2nJf0Z4jkcnYp7X+Q1LQhj2lTELs5RfpNUA3OT5/UK8=
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20240306215549-383a664a3660/go.mod h1:zjtXfgdh6xhy8hNBW24ZhYxt86W4jWaqIK2G6iWCkHU=
github.com/rancher/wrangler v0.6.1/go.mod h1:L4HtjPeX8iqLgsxfJgz+JjKMcX2q3qbRXSeTlC/CSd4=
github.com/rancher/wrangler v0.8.11-0.20220120160420-18c996a8e956/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0=
github.com/rancher/wrangler v1.1.1 h1:wmqUwqc2M7ADfXnBCJTFkTB5ZREWpD78rnZMzmxwMvM=
Expand Down
7 changes: 7 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ func Provider() tfbridge.ProviderInfo {

// Override capitalization for backwards compatibility.
"rancher2_auth_config_activedirectory": {Tok: makeResource("AuthConfigActiveDirectory")},

"rancher2_pod_security_admission_configuration_template": {
Docs: &tfbridge.DocInfo{AllowMissing: true}},
},
DataSources: map[string]*tfbridge.DataSourceInfo{
"rancher2_pod_security_admission_configuration_template": {
Docs: &tfbridge.DocInfo{AllowMissing: true}},
},
JavaScript: &tfbridge.JavaScriptInfo{
// List any npm dependencies and their versions
Expand Down
103 changes: 82 additions & 21 deletions sdk/dotnet/Cluster.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4074f82

Please sign in to comment.