Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add sample for Deployment update and roll-back.
  • Loading branch information
tintoy committed Feb 8, 2019
1 parent 05269c8 commit 2538b5f
Show file tree
Hide file tree
Showing 7 changed files with 625 additions and 0 deletions.
15 changes: 15 additions & 0 deletions KubeClient.sln
Expand Up @@ -34,6 +34,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KubeClient.Extensions.Custo
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionsSample", "samples\ExtensionsSample\ExtensionsSample.csproj", "{4DCB98B3-4B9D-4A80-A819-60281A1B0739}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeploymentWithRollback", "samples\DeploymentWithRollback\DeploymentWithRollback.csproj", "{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -204,6 +206,18 @@ Global
{4DCB98B3-4B9D-4A80-A819-60281A1B0739}.Release|x64.Build.0 = Release|Any CPU
{4DCB98B3-4B9D-4A80-A819-60281A1B0739}.Release|x86.ActiveCfg = Release|Any CPU
{4DCB98B3-4B9D-4A80-A819-60281A1B0739}.Release|x86.Build.0 = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|x64.ActiveCfg = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|x64.Build.0 = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|x86.ActiveCfg = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Debug|x86.Build.0 = Debug|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|Any CPU.Build.0 = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|x64.ActiveCfg = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|x64.Build.0 = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|x86.ActiveCfg = Release|Any CPU
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -222,6 +236,7 @@ Global
{904A38F8-C977-4A2C-9D38-BB1ECBAF7FAA} = {619D7194-2A3C-4C5C-A5A3-EBAD28C1D65F}
{7A5BA699-184B-4AF9-95C9-85AC0833AD59} = {1F77AA9A-2C82-4CC5-A896-EE6E0DDB7DB3}
{4DCB98B3-4B9D-4A80-A819-60281A1B0739} = {619D7194-2A3C-4C5C-A5A3-EBAD28C1D65F}
{2DEC9BCC-AA1C-4A1A-B0EA-FC5930297568} = {619D7194-2A3C-4C5C-A5A3-EBAD28C1D65F}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {191B89E7-F944-4315-9E98-F6F736D27296}
Expand Down
26 changes: 26 additions & 0 deletions samples/DeploymentWithRollback/DeploymentWithRollback.csproj
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\KubeClient\KubeClient.csproj" />
<ProjectReference Include="..\..\src\KubeClient.Extensions.KubeConfig\KubeClient.Extensions.KubeConfig.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.2.1" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" />
<PackageReference Include="Serilog" Version="2.5.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="2.0.2" />
<PackageReference Include="Serilog.Sinks.Literate" Version="3.0.0" />
</ItemGroup>

<Import Project="..\Common.props" />

</Project>

0 comments on commit 2538b5f

Please sign in to comment.