We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d707f commit e09b45fCopy full SHA for e09b45f
src/KubeOps/Operator/Commands/Generators/OperatorGenerator.cs
@@ -22,12 +22,13 @@ public OperatorGenerator(EntitySerializer serializer)
22
public async Task<int> OnExecuteAsync(CommandLineApplication app)
23
{
24
var output = _serializer.Serialize(new V1Deployment(
25
- V1Deployment.KubeApiVersion,
+ $"{V1Deployment.KubeGroup}/{V1Deployment.KubeApiVersion}",
26
V1Deployment.KubeKind,
27
new V1ObjectMeta(name: "operator"),
28
new V1DeploymentSpec
29
30
Replicas = 1,
31
+ RevisionHistoryLimit = 0,
32
Template = new V1PodTemplateSpec
33
34
Spec = new V1PodSpec
0 commit comments