Skip to content

Commit

Permalink
chore(wave0): mustache template controller @ 2.1.4
Browse files Browse the repository at this point in the history
update version and update CRD for v1alpha2 to be inline with
the specified version

BREAKING CHANGE: removes support for v1alpha1

Ref: REL-836
  • Loading branch information
esatterwhite committed May 31, 2022
1 parent 050d99e commit bc78ce3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
44 changes: 24 additions & 20 deletions deployment/kubernetes/wave0.yaml.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -93,28 +93,14 @@ items:
group: deploy.razee.io
# list of versions supported by this CustomResourceDefinition
versions:
- name: v1alpha1
# Each version can be enabled/disabled by Served flag.
served: true
# One and only one version must be marked as the storage version.
storage: false
schema:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
type: object
required: [spec]
properties:
spec:
type: object
x-kubernetes-preserve-unknown-fields: true
status:
type: object
x-kubernetes-preserve-unknown-fields: true
- name: v1alpha2
# Each version can be enabled/disabled by Served flag.
served: true
# One and only one version must be marked as the storage version.
storage: true
subresources:
# status enables the status subresource.
status: {}
schema:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
Expand Down Expand Up @@ -238,7 +224,9 @@ items:
properties:
configMapKeyRef:
type: object
required: [name, key]
oneOf:
- required: [key, name]
- required: [key, matchLabels]
properties:
name:
type: string
Expand All @@ -249,9 +237,15 @@ items:
type:
type: string
enum: [number, boolean, json, jsonString, base64]
matchLabels:
type: object
x-kubernetes-preserve-unknown-fields: true
additionalProperties: true
secretKeyRef:
type: object
required: [name, key]
oneOf:
- required: [key, name]
- required: [key, matchLabels]
properties:
name:
type: string
Expand All @@ -262,9 +256,15 @@ items:
type:
type: string
enum: [number, boolean, json, jsonString, base64]
matchLabels:
type: object
x-kubernetes-preserve-unknown-fields: true
additionalProperties: true
genericKeyRef:
type: object
required: [apiVersion, kind, name, key]
oneOf:
- required: [apiVersion, kind, name, key]
- required: [apiVersion, kind, matchLabels, key]
properties:
apiVersion:
type: string
Expand All @@ -279,6 +279,10 @@ items:
type:
type: string
enum: [number, boolean, json, jsonString, base64]
matchLabels:
type: object
x-kubernetes-preserve-unknown-fields: true
additionalProperties: true
templates:
type: array
items:
Expand Down
2 changes: 1 addition & 1 deletion versions/wave0.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WAVE0_VERSION := 1.1.0
WAVE0_VERSION := 2.1.4

0 comments on commit bc78ce3

Please sign in to comment.