Skip to content

Commit

Permalink
Keep Helm CRDs in sync (#598)
Browse files Browse the repository at this point in the history
Quick fix for #596 to keep Helm CRDs up to date.
  • Loading branch information
blampe authored Jul 9, 2024
1 parent 9a04c19 commit 13b81b8
Show file tree
Hide file tree
Showing 4 changed files with 661 additions and 487 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/pulumi-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ icon: https://www.pulumi.com/logos/brand/avatar-on-white.svg

type: application

version: 0.7.4
version: 0.8.0
appVersion: 1.14.0

keywords:
Expand Down
78 changes: 44 additions & 34 deletions deploy/helm/pulumi-operator/crds/program-crd.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: programs.pulumi.com
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.15.0
name: programs.pulumi.com
spec:
group: pulumi.com
names:
Expand All @@ -23,14 +24,19 @@ spec:
description: Program is the schema for the inline YAML program API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -40,8 +46,8 @@ spec:
additionalProperties:
properties:
default:
description: default is a value of the appropriate type for the
template to use if no value is specified.
description: default is a value of the appropriate type for
the template to use if no value is specified.
x-kubernetes-preserve-unknown-fields: true
type:
description: type is the (required) data type for the parameter.
Expand All @@ -52,8 +58,9 @@ spec:
- List<String>
type: string
type: object
description: configuration specifies the Pulumi config inputs to the
deployment. Either type or default is required.
description: |-
configuration specifies the Pulumi config inputs to the deployment.
Either type or default is required.
type: object
outputs:
additionalProperties:
Expand All @@ -75,16 +82,16 @@ spec:
state:
additionalProperties:
x-kubernetes-preserve-unknown-fields: true
description: state contains the known properties (input &
output) of the resource. This assists the provider in figuring
out the correct resource.
description: |-
state contains the known properties (input & output) of the resource. This assists
the provider in figuring out the correct resource.
type: object
required:
- id
type: object
options:
description: options contains all resource options supported by
Pulumi.
description: options contains all resource options supported
by Pulumi.
properties:
additionalSecretOutputs:
description: additionalSecretOutputs specifies properties
Expand All @@ -93,9 +100,9 @@ spec:
type: string
type: array
aliases:
description: aliases specifies names that this resource used
to have, so that renaming or refactoring doesn’t replace
it.
description: |-
aliases specifies names that this resource used to have, so that renaming or refactoring
doesn’t replace it.
items:
type: string
type: array
Expand All @@ -104,13 +111,16 @@ spec:
behavior for resource provisioning.
properties:
create:
description: create is the custom timeout for create operations.
description: create is the custom timeout for create
operations.
type: string
delete:
description: delete is the custom timeout for delete operations.
description: delete is the custom timeout for delete
operations.
type: string
update:
description: update is the custom timeout for update operations.
description: update is the custom timeout for update
operations.
type: string
type: object
deleteBeforeReplace:
Expand All @@ -134,9 +144,9 @@ spec:
cloud account under the control of Pulumi.
type: string
parent:
description: parent resource option specifies a parent for
a resource. It is used to associate children with the parents
that encapsulate or are responsible for them.
description: |-
parent resource option specifies a parent for a resource. It is used to associate
children with the parents that encapsulate or are responsible for them.
x-kubernetes-preserve-unknown-fields: true
protect:
description: protect prevents accidental deletion of a resource.
Expand All @@ -152,8 +162,8 @@ spec:
for the resource and its children.
type: object
version:
description: version specifies a provider plugin version that
should be used when operating on a resource.
description: version specifies a provider plugin version
that should be used when operating on a resource.
type: string
type: object
properties:
Expand All @@ -169,18 +179,18 @@ spec:
required:
- type
type: object
description: resources declares the Pulumi resources that will be deployed
and managed by the program.
description: resources declares the Pulumi resources that will be
deployed and managed by the program.
type: object
variables:
additionalProperties:
x-kubernetes-preserve-unknown-fields: true
description: variables specifies intermediate values of the program;
the values of variables are expressions that can be re-used.
description: |-
variables specifies intermediate values of the program; the values of variables are
expressions that can be re-used.
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}
subresources: {}
Loading

0 comments on commit 13b81b8

Please sign in to comment.