From f899be470dcda000c50ffa8e63f331d4c612f981 Mon Sep 17 00:00:00 2001 From: Alberto Falossi <26248823+falox@users.noreply.github.com> Date: Sat, 10 Oct 2020 18:30:34 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d7d57d9..678df8f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ dotnet new console dotnet add package k8s.Operators --version 1.0.0-beta1 ``` -Assuming that you have already added a custom resource definition for `MyResource` in your Kubernetes cluster, define a C# class for the custom resource: +Assuming that you have already added a custom resource definition for `MyResource` in your Kubernetes cluster, define a class deriving from `CustomResource` for the custom resource: ```csharp // Set the CRD attributes @@ -46,7 +46,7 @@ public class MyResource : CustomResource @@ -89,7 +89,7 @@ static async Task Main(string[] args) } ``` -> Note: Since `operator` is a reserved keyword in C#, it has been escaped with `@operator`. +> Curiosity: Since `operator` is a reserved keyword in C#, it has been escaped with `@operator`. Start the operator with: