8000 crd: explain why pod and service template specs are schemaless by Slach · Pull Request #2184 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Hide whitespace
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -1893,7 +1896,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -1902,7 +1905,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -912,7 +915,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -921,7 +924,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down
33 changes: 24 additions & 9 deletions deploy/operator/clickhouse-operator-install-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -1900,7 +1903,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -1909,7 +1912,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down Expand Up @@ -3785,7 +3790,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -3852,7 +3860,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -3861,7 +3869,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down Expand Up @@ -5608,7 +5618,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -5675,7 +5688,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -5684,7 +5697,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down
33 changes: 24 additions & 9 deletions deploy/operator/clickhouse-operator-install-bundle-v1beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -1883,7 +1886,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -1892,7 +1895,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down Expand Up @@ -3757,7 +3762,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -3823,7 +3831,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -3832,7 +3840,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down Expand Up @@ -5573,7 +5583,10 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify PodSpec
# Schemaless on purpose: passed to the Pod as is. A structural schema would make the apiserver
# silently prune PodSpec fields newer than the k8s.io/api version the operator is built with,
# and the full PodSpec schema would push this CRD past the 256KB client-side apply / Helm ConfigMap limits.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: "allows define whole Pod.spec inside StaefulSet.spec, look to https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates for details"
# nullable: true
Expand Down Expand Up @@ -5639,7 +5652,7 @@ spec:
look to https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates
for details about available template variables"
metadata:
# TODO specify ObjectMeta
# Schemaless on purpose: labels and annotations are passed to the Service as is.
type: object
description: |
allows pass standard object's metadata from template to Service
Expand All @@ -5648,7 +5661,9 @@ spec:
# nullable: true
x-kubernetes-preserve-unknown-fields: true
spec:
# TODO specify ServiceSpec
# Schemaless on purpose: passed to the Service as is. A structural schema would make the apiserver
# silently prune ServiceSpec fields newer than the k8s.io/api version the operator is built with.
# See https://github.com/Altinity/clickhouse-operator/pull/2084
type: object
description: |
describe behavior of generated Service
Expand Down
Loading
0