Skip to content

Commit

Permalink
Upgrade pulumi-terraform-bridge to v3.63.1 (#292)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-rancher2
--kind=bridge --target-bridge-version=v3.63.1 --pr-reviewers=t0yv0
--pr-description=`.

---

- Upgrading pulumi-terraform-bridge from v3.63.0 to v3.63.1.
  • Loading branch information
pulumi-bot authored Oct 25, 2023
1 parent 92eeb5a commit 5814902
Show file tree
Hide file tree
Showing 310 changed files with 15,449 additions and 9 deletions.
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ replace (

require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1
github.com/pulumi/pulumi/sdk/v3 v3.90.1
github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20231013004807-59ba43ca3a23
)
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2196,8 +2196,8 @@ github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mc
github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0 h1:otdmkNsMGyZ+proUZClznZo+cEchkSSkmaGcq+Gf+6s=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E=
Expand Down
73 changes: 73 additions & 0 deletions sdk/dotnet/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,79 @@ namespace Pulumi.Rancher2
///
/// Note: In case of multiple resource modifications in a row, `rollback` has preference over `upgrade`.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =>
/// {
/// // Create a new rancher2 App
/// var foo = new Rancher2.App("foo", new()
/// {
/// Answers =
/// {
/// { "foo", "bar" },
/// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true },
/// { "ingress_host", "test.xip.io" },
/// },
/// CatalogName = "<catalog_name>",
/// Description = "Foo app",
/// ProjectId = "<project_id>",
/// TargetNamespace = "<namespace_name>",
/// TemplateName = "<template_name>",
/// TemplateVersion = "<template_version>",
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =>
/// {
/// // Create a new rancher2 App in a new namespace
/// var fooNamespace = new Rancher2.Namespace("fooNamespace", new()
/// {
/// Description = "Foo namespace",
/// ProjectId = "<project_id>",
/// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs
/// {
/// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs
/// {
/// LimitsCpu = "100m",
/// LimitsMemory = "100Mi",
/// RequestsStorage = "1Gi",
/// },
/// },
/// });
///
/// var fooApp = new Rancher2.App("fooApp", new()
/// {
/// CatalogName = "<catalog_name>",
/// Description = "Foo app",
/// ProjectId = "<project_id>",
/// TemplateName = "<template_name>",
/// TemplateVersion = "<template_version>",
/// TargetNamespace = fooNamespace.Id,
/// Answers =
/// {
/// { "ingress_host", "test.xip.io" },
/// { "foo", "bar" },
/// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true },
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// Apps can be imported using the app ID in the format `<project_id>:<app_name>`
Expand Down
25 changes: 25 additions & 0 deletions sdk/dotnet/AppV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@ namespace Pulumi.Rancher2
/// <summary>
/// Provides a Rancher App v2 resource. This can be used to manage helm charts for Rancher v2 environments and retrieve their information. App v2 resource is available at Rancher v2.5.x and above.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.IO;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new Rancher2 App V2 using
/// var foo = new Rancher2.AppV2("foo", new()
/// {
/// ClusterId = "&lt;CLUSTER_ID&gt;",
/// Namespace = "cattle-monitoring-system",
/// RepoName = "rancher-charts",
/// ChartName = "rancher-monitoring",
/// ChartVersion = "9.4.200",
/// Values = File.ReadAllText("values.yaml"),
/// });
///
/// });
/// ```
///
/// ## Import
///
/// V2 apps can be imported using the Rancher cluster ID and App V2 name, which is composed of `&lt;namespace&gt;/&lt;application_name&gt;`.
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/AuthConfigAdfs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ namespace Pulumi.Rancher2
/// Provides a Rancher v2 Auth Config ADFS resource. This can be used to configure and enable Auth Config ADFS for Rancher v2 RKE clusters and retrieve their information.
///
/// In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config ADFS
/// var adfs = new Rancher2.AuthConfigAdfs("adfs", new()
/// {
/// DisplayNameField = "&lt;DISPLAY_NAME_FIELD&gt;",
/// GroupsField = "&lt;GROUPS_FIELD&gt;",
/// IdpMetadataContent = "&lt;IDP_METADATA_CONTENT&gt;",
/// RancherApiHost = "https://&lt;RANCHER_API_HOST&gt;",
/// SpCert = "&lt;SP_CERT&gt;",
/// SpKey = "&lt;SP_KEY&gt;",
/// UidField = "&lt;UID_FIELD&gt;",
/// UserNameField = "&lt;USER_NAME_FIELD&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigAdfs:AuthConfigAdfs")]
public partial class AuthConfigAdfs : global::Pulumi.CustomResource
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/AuthConfigAzureAd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,32 @@

namespace Pulumi.Rancher2
{
/// <summary>
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config AzureAD
/// var azuread = new Rancher2.AuthConfigAzureAd("azuread", new()
/// {
/// ApplicationId = "&lt;AZUREAD_APP_ID&gt;",
/// ApplicationSecret = "&lt;AZUREAD_APP_SECRET&gt;",
/// AuthEndpoint = "&lt;AZUREAD_AUTH_ENDPOINT&gt;",
/// GraphEndpoint = "&lt;AZUREAD_GRAPH_ENDPOINT&gt;",
/// RancherUrl = "&lt;RANCHER_URL&gt;",
/// TenantId = "&lt;AZUREAD_TENANT_ID&gt;",
/// TokenEndpoint = "&lt;AZUREAD_TOKEN_ENDPOINT&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigAzureAd:AuthConfigAzureAd")]
public partial class AuthConfigAzureAd : global::Pulumi.CustomResource
{
Expand Down
20 changes: 20 additions & 0 deletions sdk/dotnet/AuthConfigGithub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ namespace Pulumi.Rancher2
/// Provides a Rancher v2 Auth Config Github resource. This can be used to configure and enable Auth Config Github for Rancher v2 RKE clusters and retrieve their information.
///
/// In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config Github
/// var github = new Rancher2.AuthConfigGithub("github", new()
/// {
/// ClientId = "&lt;GITHUB_CLIENT_ID&gt;",
/// ClientSecret = "&lt;GITHUB_CLIENT_SECRET&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigGithub:AuthConfigGithub")]
public partial class AuthConfigGithub : global::Pulumi.CustomResource
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/AuthConfigKeycloak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ namespace Pulumi.Rancher2
/// Provides a Rancher v2 Auth Config KeyCloak resource. This can be used to configure and enable Auth Config KeyCloak for Rancher v2 RKE clusters and retrieve their information.
///
/// In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config KeyCloak
/// var keycloak = new Rancher2.AuthConfigKeycloak("keycloak", new()
/// {
/// DisplayNameField = "&lt;DISPLAY_NAME_FIELD&gt;",
/// GroupsField = "&lt;GROUPS_FIELD&gt;",
/// IdpMetadataContent = "&lt;IDP_METADATA_CONTENT&gt;",
/// RancherApiHost = "https://&lt;RANCHER_API_HOST&gt;",
/// SpCert = "&lt;SP_CERT&gt;",
/// SpKey = "&lt;SP_KEY&gt;",
/// UidField = "&lt;UID_FIELD&gt;",
/// UserNameField = "&lt;USER_NAME_FIELD&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigKeycloak:AuthConfigKeycloak")]
public partial class AuthConfigKeycloak : global::Pulumi.CustomResource
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/AuthConfigOkta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ namespace Pulumi.Rancher2
/// Provides a Rancher v2 Auth Config OKTA resource. This can be used to configure and enable Auth Config OKTA for Rancher v2 RKE clusters and retrieve their information.
///
/// In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config OKTA
/// var okta = new Rancher2.AuthConfigOkta("okta", new()
/// {
/// DisplayNameField = "&lt;DISPLAY_NAME_FIELD&gt;",
/// GroupsField = "&lt;GROUPS_FIELD&gt;",
/// IdpMetadataContent = "&lt;IDP_METADATA_CONTENT&gt;",
/// RancherApiHost = "https://&lt;RANCHER_API_HOST&gt;",
/// SpCert = "&lt;SP_CERT&gt;",
/// SpKey = "&lt;SP_KEY&gt;",
/// UidField = "&lt;UID_FIELD&gt;",
/// UserNameField = "&lt;USER_NAME_FIELD&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigOkta:AuthConfigOkta")]
public partial class AuthConfigOkta : global::Pulumi.CustomResource
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/AuthConfigPing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ namespace Pulumi.Rancher2
/// Provides a Rancher v2 Auth Config Ping resource. This can be used to configure and enable Auth Config Ping for Rancher v2 RKE clusters and retrieve their information.
///
/// In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2 Auth Config Ping
/// var ping = new Rancher2.AuthConfigPing("ping", new()
/// {
/// DisplayNameField = "&lt;DISPLAY_NAME_FIELD&gt;",
/// GroupsField = "&lt;GROUPS_FIELD&gt;",
/// IdpMetadataContent = "&lt;IDP_METADATA_CONTENT&gt;",
/// RancherApiHost = "https://&lt;RANCHER_API_HOST&gt;",
/// SpCert = "&lt;SP_CERT&gt;",
/// SpKey = "&lt;SP_KEY&gt;",
/// UidField = "&lt;UID_FIELD&gt;",
/// UserNameField = "&lt;USER_NAME_FIELD&gt;",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/authConfigPing:AuthConfigPing")]
public partial class AuthConfigPing : global::Pulumi.CustomResource
Expand Down
68 changes: 68 additions & 0 deletions sdk/dotnet/Bootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,74 @@

namespace Pulumi.Rancher2
{
/// <summary>
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2_bootstrap
/// var admin = new Rancher2.Bootstrap("admin", new()
/// {
/// Password = "blahblah",
/// Telemetry = true,
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new rancher2_bootstrap for Rancher v2.6.0 and above
/// var admin = new Rancher2.Bootstrap("admin", new()
/// {
/// InitialPassword = "&lt;INSTALL_PASSWORD&gt;",
/// Password = "blahblah",
/// Telemetry = true,
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Rancher2 = Pulumi.Rancher2;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Provider bootstrap config with alias
/// var bootstrap = new Rancher2.Provider("bootstrap", new()
/// {
/// ApiUrl = "https://rancher.my-domain.com",
/// Bootstrap = true,
/// });
///
/// // Create a new rancher2_bootstrap using bootstrap provider config
/// var admin = new Rancher2.Bootstrap("admin", new()
/// {
/// Password = "blahblah",
/// Telemetry = true,
/// }, new CustomResourceOptions
/// {
/// Provider = "rancher2.bootstrap",
/// });
///
/// });
/// ```
/// </summary>
[Rancher2ResourceType("rancher2:index/bootstrap:Bootstrap")]
public partial class Bootstrap : global::Pulumi.CustomResource
{
Expand Down
Loading

0 comments on commit 5814902

Please sign in to comment.