Skip to content

Commit

Permalink
fix(crd generator): use correct deployment api group (fixes #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler committed May 8, 2020
1 parent 22d707f commit e09b45f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -22,12 +22,13 @@ public OperatorGenerator(EntitySerializer serializer)
public async Task<int> OnExecuteAsync(CommandLineApplication app)
{
var output = _serializer.Serialize(new V1Deployment(
V1Deployment.KubeApiVersion,
$"{V1Deployment.KubeGroup}/{V1Deployment.KubeApiVersion}",
V1Deployment.KubeKind,
new V1ObjectMeta(name: "operator"),
new V1DeploymentSpec
{
Replicas = 1,
RevisionHistoryLimit = 0,
Template = new V1PodTemplateSpec
{
Spec = new V1PodSpec
Expand Down

0 comments on commit e09b45f

Please sign in to comment.