Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upstream specifications to their latest version #284

Merged
merged 2 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 2 additions & 9 deletions code-generator/create-custom-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ for file in ./crd-catalog/**/*.yaml; do

path="${file%.*}"
ignore_file="${path}.ignore"
args_file="${path}.args"
fixup_file="${path}.fixup"
fixed_file="${path}.fixed"
file_to_read="${file}"
Expand All @@ -39,14 +38,8 @@ for file in ./crd-catalog/**/*.yaml; do
file_to_read="${fixed_file}"
fi

if [ -f "${args_file}" ]; then
if ! xargs --arg-file="${args_file}" --delimiter='\n' kopium --docs --filename="${file_to_read}" > "${version_directory}/${resource_filename}.rs"; then
echo " error in ${file_to_read}"
fi
else
if ! kopium --docs --filename="${file_to_read}" --derive=Default --derive=PartialEq > "${version_directory}/${resource_filename}.rs"; then
echo " error in ${file_to_read}"
fi
if ! kopium --docs --filename="${file_to_read}" --derive=Default --derive=PartialEq --smart-derive-elision > "${version_directory}/${resource_filename}.rs"; then
echo " error in ${file_to_read}"
fi
fi
done

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7294,6 +7294,18 @@ spec:
service:
description: "Specification of the service that exposes PgBouncer."
properties:
externalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
internalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
metadata:
description: "Metadata contains metadata for custom resources"
properties:
Expand Down Expand Up @@ -7434,6 +7446,18 @@ spec:
replicaService:
description: "Specification of the service that exposes PostgreSQL replica instances"
properties:
externalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
internalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
metadata:
description: "Metadata contains metadata for custom resources"
properties:
Expand Down Expand Up @@ -7462,6 +7486,18 @@ spec:
service:
description: "Specification of the service that exposes the PostgreSQL primary instance."
properties:
externalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
internalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
metadata:
description: "Metadata contains metadata for custom resources"
properties:
Expand Down Expand Up @@ -8294,6 +8330,18 @@ spec:
service:
description: "Specification of the service that exposes pgAdmin."
properties:
externalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
internalTrafficPolicy:
description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies"
enum:
- "Cluster"
- "Local"
type: "string"
metadata:
description: "Metadata contains metadata for custom resources"
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4020,6 +4020,16 @@ spec:
agentCommunicationMode:
description: "agentCommunicationMode corresponds to the mode used by the Datadog application libraries to communicate with the Agent. It can be \"hostip\", \"service\", or \"socket\"."
type: "string"
cwsInstrumentation:
description: "CWSInstrumentation holds the CWS Instrumentation endpoint configuration"
properties:
enabled:
description: "Enable the CWS Instrumentation admission controller endpoint"
type: "boolean"
mode:
description: "Mode defines how the CWS Instrumentation endpoint should behave. It can be \"init_container\" or \"remote_copy\"."
type: "string"
type: "object"
enabled:
description: "Enable the admission controller to be able to inject APM/Dogstatsd config and standard tags (env, service, version) automatically into your pods."
type: "boolean"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1918,6 +1918,43 @@ spec:
type: "object"
type: "array"
type: "object"
driverIngressOptions:
items:
properties:
ingressAnnotations:
additionalProperties:
type: "string"
type: "object"
ingressTLS:
items:
properties:
hosts:
items:
type: "string"
type: "array"
secretName:
type: "string"
type: "object"
type: "array"
ingressURLFormat:
type: "string"
serviceAnnotations:
additionalProperties:
type: "string"
type: "object"
serviceLabels:
additionalProperties:
type: "string"
type: "object"
servicePort:
format: "int32"
type: "integer"
servicePortName:
type: "string"
serviceType:
type: "string"
type: "object"
type: "array"
dynamicAllocation:
properties:
enabled:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,43 @@ spec:
type: "object"
type: "array"
type: "object"
driverIngressOptions:
items:
properties:
ingressAnnotations:
additionalProperties:
type: "string"
type: "object"
ingressTLS:
items:
properties:
hosts:
items:
type: "string"
type: "array"
secretName:
type: "string"
type: "object"
type: "array"
ingressURLFormat:
type: "string"
serviceAnnotations:
additionalProperties:
type: "string"
type: "object"
serviceLabels:
additionalProperties:
type: "string"
type: "object"
servicePort:
format: "int32"
type: "integer"
servicePortName:
type: "string"
serviceType:
type: "string"
type: "object"
type: "array"
dynamicAllocation:
properties:
enabled:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ spec:
x-kubernetes-map-type: "atomic"
options:
properties:
batch-size:
description: "BatchSize defines the size of entries to flush in as single flush [default: 100]"
type: "integer"
flush-period:
description: "FlushPeriod for counters in milliseconds [default: 1000]"
type: "integer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ spec:
singular: "bitwarden-secret"
scope: "Namespaced"
versions:
- name: "v1beta5"
- deprecated: true
name: "v1beta5"
schema:
openAPIV3Schema:
properties:
Expand Down Expand Up @@ -50,4 +51,4 @@ spec:
type: "object"
type: "object"
served: true
storage: true
storage: false
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ spec:
singular: "bitwarden-template"
scope: "Namespaced"
versions:
- name: "v1beta5"
- deprecated: true
name: "v1beta5"
schema:
openAPIV3Schema:
properties:
Expand All @@ -37,4 +38,4 @@ spec:
type: "object"
type: "object"
served: true
storage: true
storage: false
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ spec:
singular: "registry-credential"
scope: "Namespaced"
versions:
- name: "v1beta5"
- deprecated: true
name: "v1beta5"
schema:
openAPIV3Schema:
properties:
Expand Down Expand Up @@ -43,4 +44,4 @@ spec:
type: "object"
type: "object"
served: true
storage: true
storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
name: "bitwarden-secrets.lerentis.uploadfilter24.eu"
spec:
group: "lerentis.uploadfilter24.eu"
names:
kind: "BitwardenSecret"
plural: "bitwarden-secrets"
shortNames:
- "bws"
singular: "bitwarden-secret"
scope: "Namespaced"
versions:
- name: "v1beta6"
schema:
openAPIV3Schema:
properties:
spec:
properties:
annotations:
type: "object"
x-kubernetes-preserve-unknown-fields: true
content:
items:
properties:
element:
properties:
secretName:
type: "string"
secretRef:
type: "string"
secretScope:
type: "string"
required:
- "secretName"
type: "object"
type: "object"
type: "array"
id:
type: "string"
labels:
type: "object"
x-kubernetes-preserve-unknown-fields: true
name:
type: "string"
namespace:
type: "string"
required:
- "id"
- "namespace"
- "name"
type: "object"
type: "object"
served: true
storage: true
Loading