From 40ec97e1ffe4ccd01edb6b3a407dfec22d741c38 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 7 Oct 2024 20:19:00 +0200 Subject: [PATCH] yaook: use 0.20240919.2 (#96) Signed-off-by: Christian Berendt --- .charts.yml | 16 +- charts/cds-operator/Chart.yaml | 4 +- charts/cinder-operator/Chart.yaml | 4 +- charts/crds/Chart.yaml | 4 +- .../gen-cue-amqp-server-crd.cue.yaml | 4 + .../templates/gen-cue-barbican-crd.cue.yaml | 8 +- .../templates/gen-cue-ceilometer-crd.cue.yaml | 8 +- .../templates/gen-cue-cinder-crd.cue.yaml | 12 +- .../templates/gen-cue-glance-crd.cue.yaml | 6 - .../templates/gen-cue-gnocchi-crd.cue.yaml | 5 + .../crds/templates/gen-cue-heat-crd.cue.yaml | 1380 ----------------- .../gen-cue-infra-ironic-crd.cue.yaml | 6 - .../templates/gen-cue-keystone-crd.cue.yaml | 6 - .../gen-cue-keystone-user-crd.cue.yaml | 5 + .../gen-cue-mysql-service-crd.cue.yaml | 4 + .../gen-cue-neutron-bgp-crd.cue.yaml | 347 ----- .../templates/gen-cue-neutron-crd.cue.yaml | 740 +-------- .../gen-cue-neutron-dhcp-crd.cue.yaml | 356 ----- .../templates/gen-cue-neutron-l2-crd.cue.yaml | 366 ----- .../templates/gen-cue-neutron-l3-crd.cue.yaml | 379 ----- .../gen-cue-neutron-ovn-crd.cue.yaml | 1 - .../gen-cue-nova-compute-node-crd.cue.yaml | 5 - .../crds/templates/gen-cue-nova-crd.cue.yaml | 15 +- .../templates/gen-cue-powerdns-crd.cue.yaml | 621 ++++++++ charts/glance-operator/Chart.yaml | 4 +- charts/horizon-operator/Chart.yaml | 4 +- charts/infra-operator/Chart.yaml | 4 +- .../infra-operator/templates/gen-roles.yaml | 46 + charts/keystone-operator/Chart.yaml | 4 +- charts/keystone-resources-operator/Chart.yaml | 4 +- 30 files changed, 740 insertions(+), 3628 deletions(-) delete mode 100644 charts/crds/templates/gen-cue-heat-crd.cue.yaml delete mode 100644 charts/crds/templates/gen-cue-neutron-bgp-crd.cue.yaml delete mode 100644 charts/crds/templates/gen-cue-neutron-dhcp-crd.cue.yaml delete mode 100644 charts/crds/templates/gen-cue-neutron-l2-crd.cue.yaml delete mode 100644 charts/crds/templates/gen-cue-neutron-l3-crd.cue.yaml create mode 100644 charts/crds/templates/gen-cue-powerdns-crd.cue.yaml diff --git a/.charts.yml b/.charts.yml index 28a5183..68ace5f 100644 --- a/.charts.yml +++ b/.charts.yml @@ -92,34 +92,34 @@ charts: url: https://headlamp-k8s.github.io/headlamp/ # YAOOK charts - name: cds-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: crds - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: infra-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: keystone-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: keystone-resources-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: cinder-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: glance-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable - name: horizon-operator - version: 0.20240801.0 + version: 0.20240919.2 repository: url: https://charts.yaook.cloud/operator/stable diff --git a/charts/cds-operator/Chart.yaml b/charts/cds-operator/Chart.yaml index 3359fe6..c1387e9 100644 --- a/charts/cds-operator/Chart.yaml +++ b/charts/cds-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook ConfiguredDaemonSet operator type: application name: cds-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/cinder-operator/Chart.yaml b/charts/cinder-operator/Chart.yaml index f0b7c1e..90c9647 100644 --- a/charts/cinder-operator/Chart.yaml +++ b/charts/cinder-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook cinder operator type: application name: cinder-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/crds/Chart.yaml b/charts/crds/Chart.yaml index a39defd..690c4da 100644 --- a/charts/crds/Chart.yaml +++ b/charts/crds/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: CustomResourceDefinitions used by Yaook. type: application name: crds -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/crds/templates/gen-cue-amqp-server-crd.cue.yaml b/charts/crds/templates/gen-cue-amqp-server-crd.cue.yaml index f6aae33..d2e256f 100644 --- a/charts/crds/templates/gen-cue-amqp-server-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-amqp-server-crd.cue.yaml @@ -46,6 +46,10 @@ spec: required: - name type: object + enabledPlugins: + default: rabbitmq_management,rabbitmq_prometheus + description: Plugins that should be enabled by AMQPServer + type: string frontendIssuerRef: description: '' properties: diff --git a/charts/crds/templates/gen-cue-barbican-crd.cue.yaml b/charts/crds/templates/gen-cue-barbican-crd.cue.yaml index b58e389..14a72d0 100644 --- a/charts/crds/templates/gen-cue-barbican-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-barbican-crd.cue.yaml @@ -946,6 +946,12 @@ spec: description: Number of replicas for the service type: integer resources: + description: It is recommended to set these resource limits to + bypass problems with cgroup limits for RabbitMQ. The infra operator + will use these values to configure RabbitMQ resource limits + separately by setting the fields total_memory_available_override_value + and default_worker_pool_size inside /etc/rabbitmq/rabbitmq.conf + . properties: rabbitmq: description: Define resource requests/limits for the RabbitMQ @@ -1031,8 +1037,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - yoga - zed type: string required: diff --git a/charts/crds/templates/gen-cue-ceilometer-crd.cue.yaml b/charts/crds/templates/gen-cue-ceilometer-crd.cue.yaml index e6b738e..8288f09 100644 --- a/charts/crds/templates/gen-cue-ceilometer-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-ceilometer-crd.cue.yaml @@ -407,6 +407,12 @@ spec: description: Number of replicas for the service type: integer resources: + description: It is recommended to set these resource limits to + bypass problems with cgroup limits for RabbitMQ. The infra operator + will use these values to configure RabbitMQ resource limits + separately by setting the fields total_memory_available_override_value + and default_worker_pool_size inside /etc/rabbitmq/rabbitmq.conf + . properties: rabbitmq: description: Define resource requests/limits for the RabbitMQ @@ -552,8 +558,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - yoga - zed type: string required: diff --git a/charts/crds/templates/gen-cue-cinder-crd.cue.yaml b/charts/crds/templates/gen-cue-cinder-crd.cue.yaml index 8fab3c4..50b7cbd 100644 --- a/charts/crds/templates/gen-cue-cinder-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-cinder-crd.cue.yaml @@ -1292,6 +1292,12 @@ spec: description: Number of replicas for the service type: integer resources: + description: It is recommended to set these resource limits to + bypass problems with cgroup limits for RabbitMQ. The infra operator + will use these values to configure RabbitMQ resource limits + separately by setting the fields total_memory_available_override_value + and default_worker_pool_size inside /etc/rabbitmq/rabbitmq.conf + . properties: rabbitmq: description: Define resource requests/limits for the RabbitMQ @@ -1426,12 +1432,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - ussuri - - victoria - - wallaby - - xena - - yoga - zed type: string required: diff --git a/charts/crds/templates/gen-cue-glance-crd.cue.yaml b/charts/crds/templates/gen-cue-glance-crd.cue.yaml index 83045a1..e122a4b 100644 --- a/charts/crds/templates/gen-cue-glance-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-glance-crd.cue.yaml @@ -1058,12 +1058,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - ussuri - - victoria - - wallaby - - xena - - yoga - zed - '2023.1' type: string diff --git a/charts/crds/templates/gen-cue-gnocchi-crd.cue.yaml b/charts/crds/templates/gen-cue-gnocchi-crd.cue.yaml index 2564bc7..0eaaeb2 100644 --- a/charts/crds/templates/gen-cue-gnocchi-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-gnocchi-crd.cue.yaml @@ -945,6 +945,11 @@ spec: upgrade. enum: - train + - yoga + - zed + - '2023.1' + - '2023.2' + - '2024.1' type: string required: - keystoneRef diff --git a/charts/crds/templates/gen-cue-heat-crd.cue.yaml b/charts/crds/templates/gen-cue-heat-crd.cue.yaml deleted file mode 100644 index 2be6a2d..0000000 --- a/charts/crds/templates/gen-cue-heat-crd.cue.yaml +++ /dev/null @@ -1,1380 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - helm.sh/resource-policy: keep - name: heatdeployments.yaook.cloud -spec: - group: yaook.cloud - names: - kind: HeatDeployment - plural: heatdeployments - shortNames: - - heatd - - heatds - singular: heatdeployment - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Current status of the Resource - jsonPath: .status.phase - name: Phase - type: string - - description: The reason for the current status - jsonPath: .status.conditions[?(@.type=="Converged")].reason - name: Reason - type: string - - description: Informative messages - jsonPath: .status.conditions[?(@.type=="Converged")].message - name: Message - type: string - name: v1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - api: - properties: - ingress: - description: Ingress configuration - properties: - createIngress: - description: Create the k8s ingress object. The default value - is true - type: boolean - externalCertificateSecretRef: - description: Reference to a Kubernetes TLS Secret containing - the TLS certificate and keys to use for this endpoint. If - unset, a certificate will be generated using the Issuer - configured via issuerRef at the top level. - properties: - name: - type: string - required: - - name - type: object - fqdn: - description: The outer fully-qualified domain name of the - Ingress - type: string - ingressClassName: - default: nginx - description: Class of the Ingress to use - type: string - port: - description: Port number under which the Ingress is available. - This is required to be set to generate the full URL e.g. - for KeystoneEndpoints - type: integer - required: - - fqdn - - port - type: object - internal: - description: Optional override for the internal API endpoint. - Normally, the internal API endpoint uses the Kubernetes service. - By configuring an Ingress here, that Ingress is used instead. - properties: - ingress: - description: Ingress configuration - properties: - createIngress: - description: Create the k8s ingress object. The default - value is true - type: boolean - externalCertificateSecretRef: - description: Reference to a Kubernetes TLS Secret containing - the TLS certificate and keys to use for this endpoint. - If unset, a certificate will be generated using the - Issuer configured via issuerRef at the top level. - properties: - name: - type: string - required: - - name - type: object - fqdn: - description: The outer fully-qualified domain name of - the Ingress - type: string - ingressClassName: - default: nginx - description: Class of the Ingress to use - type: string - port: - description: Port number under which the Ingress is available. - This is required to be set to generate the full URL - e.g. for KeystoneEndpoints - type: integer - required: - - fqdn - - port - type: object - required: - - ingress - type: object - publishEndpoint: - default: true - description: Publish it to Keystone endpoints as well - type: boolean - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - heat-api: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload-external: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload-internal: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator-external: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator-internal: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - required: - - ingress - type: object - apiCfn: - properties: - ingress: - description: Ingress configuration - properties: - createIngress: - description: Create the k8s ingress object. The default value - is true - type: boolean - externalCertificateSecretRef: - description: Reference to a Kubernetes TLS Secret containing - the TLS certificate and keys to use for this endpoint. If - unset, a certificate will be generated using the Issuer - configured via issuerRef at the top level. - properties: - name: - type: string - required: - - name - type: object - fqdn: - description: The outer fully-qualified domain name of the - Ingress - type: string - ingressClassName: - default: nginx - description: Class of the Ingress to use - type: string - port: - description: Port number under which the Ingress is available. - This is required to be set to generate the full URL e.g. - for KeystoneEndpoints - type: integer - required: - - fqdn - - port - type: object - internal: - description: Optional override for the internal API endpoint. - Normally, the internal API endpoint uses the Kubernetes service. - By configuring an Ingress here, that Ingress is used instead. - properties: - ingress: - description: Ingress configuration - properties: - createIngress: - description: Create the k8s ingress object. The default - value is true - type: boolean - externalCertificateSecretRef: - description: Reference to a Kubernetes TLS Secret containing - the TLS certificate and keys to use for this endpoint. - If unset, a certificate will be generated using the - Issuer configured via issuerRef at the top level. - properties: - name: - type: string - required: - - name - type: object - fqdn: - description: The outer fully-qualified domain name of - the Ingress - type: string - ingressClassName: - default: nginx - description: Class of the Ingress to use - type: string - port: - description: Port number under which the Ingress is available. - This is required to be set to generate the full URL - e.g. for KeystoneEndpoints - type: integer - required: - - fqdn - - port - type: object - required: - - ingress - type: object - publishEndpoint: - default: true - description: Publish it to Keystone endpoints as well - type: boolean - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - heat-api-cfn: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload-external: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload-internal: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator-external: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ssl-terminator-internal: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - required: - - ingress - type: object - caCertificates: - description: CA Certificates that should be added to all services - can be placed here. CAs that issue certificates to the service are - automatically added and do not need to be specified. - items: - type: string - type: array - x-kubernetes-list-type: set - database: - description: Configure the database deployment - properties: - backup: - description: Configure automated database backups - properties: - mysqldump: - default: false - description: Execute a plain mysqldump in addition to the - standard backup. - type: boolean - schedule: - default: 0 0 * * * - description: Schedule in which to create backups. The schedule - is given in standard cron notation. - pattern: ((\d+|([\d*]+(\/|-)\d+)|\*) ?){5} - type: string - targets: - anyOf: - - required: - - s3 - description: Configure zero or more targets to save the backups - to. If no targets are configured, backups will only be stored - within the pod and are gone when the pod is deleted. - properties: - s3: - description: Send backups into an S3 bucket. - properties: - addressingStyle: - default: virtual - type: string - bucket: - description: Name of the bucket to store data into - type: string - credentialRef: - description: Reference a Secret for the S3 credentials - properties: - name: - type: string - required: - - name - type: object - endpoint: - description: URL to the S3 service - type: string - filePrefix: - description: Prefix to add to the file name before - storing it in the bucket - type: string - required: - - endpoint - - bucket - - credentialRef - type: object - type: object - required: - - schedule - type: object - mysqlConfig: - description: Additional MySQL configuration. This is more detailed - than typical configuration snippets because of the special `optimizer_switch` - config option. - properties: - client-server: - description: Configuration options for the client-server section. - type: object - x-kubernetes-preserve-unknown-fields: true - galera: - description: Configuration options for the galera section. - type: object - x-kubernetes-preserve-unknown-fields: true - mysqld: - description: Configuration options for the mysqld section. - properties: - optimizer_switch: - additionalProperties: - type: boolean - description: Boolean flags for individual optimizer switches. - See MariaDB upstream configuration for details. - type: object - type: object - x-kubernetes-preserve-unknown-fields: true - sst: - description: Configuration options for the sst section. - type: object - x-kubernetes-preserve-unknown-fields: true - type: object - proxy: - description: Configure the proxy deployment, which brokers traffic - to the database - properties: - replicas: - default: 2 - description: Number of replicas for the service - type: integer - resources: - description: Configure resource requests/limits for containers - related to the database proxy. - properties: - create-ca-bundle: - description: Define resource requests/limits for the create-ca-bundle - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - haproxy: - description: Define resource requests/limits for the haproxy - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - service-reload: - description: Define resource requests/limits for the service-reload - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with - a Pod if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - type: object - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - backup-creator: - description: Define resource requests/limits for the backup-creator - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - backup-shifter: - description: Define resource requests/limits for the backup-shifter - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - mariadb-galera: - description: Define resource requests/limits for the mariadb-galera - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - mysqld-exporter: - description: Define resource requests/limits for the mysqld-exporter - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - storageClassName: - description: Storage class name. If unset, the cluster-wide default - storage class will be used. If that storage class is not set - or does not work, the deployment will be broken. Changing storage - classes after the initial rollout requires manual intervention. - type: string - storageSize: - default: 8Gi - description: Size to request for the PVC. Changing the size after - the initial rollout requires manual intervention. - pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ - type: string - timeoutClient: - default: 300 - description: Defines the maximum time a client can be inactive - when connected to the server. Hint should be ~10% more than - connection_recycle_time. - type: integer - tolerateNodeDown: - default: false - description: If set, Kubernetes will not evict the pod after 300s - in case of a NodeDown or Node unreachable. - type: boolean - required: - - proxy - - backup - type: object - engine: - properties: - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - heat-engine: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - type: object - heatConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file sections, - the values are objects whose keys correspond to config keys within - that section. - type: object - heatSecrets: - description: List of secrets to inject into the service configuration. - items: - description: A single secret injection configuration. This causes - the operator to read the referenced Secret, extract the individual - data entries and put them into the corresponding configuration - paths, according to the `items`. - properties: - items: - description: Assignment of Secret keys to configuration keys - items: - properties: - key: - description: Key name in the Secret - type: string - path: - description: Path inside the configuration to put the - value in. Path must be in the form of ``/section/key``. - For example, to put a value into the `debug` key in - the `DEFAULT` section, you would use `/DEFAULT/debug`. - pattern: /.* - type: string - required: - - key - - path - type: object - type: array - secretName: - description: Name of the Kubernetes Secret to read - type: string - required: - - secretName - - items - type: object - type: array - imagePullSecrets: - description: References to image pull secrets which should be included - in all Pods spawned directly or indirectly by this resource. - items: - description: '' - properties: - name: - type: string - required: - - name - type: object - type: array - issuerRef: - description: Reference an issuer for the certificates used internally - by YAOOK (and, by default, also for external services unless overridden). - properties: - name: - default: ca-issuer - description: Name of the cert-manager Issuer object - type: string - type: object - jobResources: - properties: - heat-db-sync-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - keystoneRef: - description: Keystone deployment to link this service to - properties: - kind: - default: KeystoneDeployment - description: Specify the kind of Keystone deployment to reference - enum: - - KeystoneDeployment - - ExternalKeystoneDeployment - type: string - name: - type: string - required: - - name - type: object - memcached: - description: Memcached deployment configuration - properties: - connections: - default: 1024 - description: Maximum number of parallel connections - type: integer - memory: - default: 512 - description: Maximum memory used for the cache - type: integer - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - memcached: - description: Define resource requests/limits for the memcached - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - type: object - messageQueue: - description: Configure the RabbitMQ instance. - properties: - replicas: - default: 3 - description: Number of replicas for the service - type: integer - resources: - properties: - rabbitmq: - description: Define resource requests/limits for the RabbitMQ - container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - scheduleRuleWhenUnsatisfiable: - default: ScheduleAnyway - description: whenUnsatisfiable indicates how to deal with a Pod - if it doesn't satisfy the spread constraint - enum: - - ScheduleAnyway - - DoNotSchedule - type: string - storageClassName: - description: Storage class name. If unset, the cluster-wide default - storage class will be used. If that storage class is not set - or does not work, the deployment will be broken. Changing storage - classes after the initial rollout requires manual intervention. - type: string - storageSize: - default: 8Gi - description: Size to request for the PVC. Changing the size after - the initial rollout requires manual intervention. - pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ - type: string - tolerateNodeDown: - default: false - description: If set, Kubernetes will not evict the pod after 300s - in case of a NodeDown or Node unreachable. - type: boolean - type: object - policy: - description: OpenStack policy to merge with the default policy - type: object - x-kubernetes-preserve-unknown-fields: true - region: - description: Configure the Region to use for this OpenStack service. - properties: - name: - default: RegionOne - description: Name of the OpenStack region to connect with and - to set up the own endpoints in. - type: string - parent: - type: string - type: object - serviceMonitor: - description: Configure the ServiceMonitor objects created by the operator. - properties: - additionalLabels: - additionalProperties: - type: string - description: Additional labels to set on the ServiceMonitor metadata. - type: object - type: object - targetRelease: - description: The release to deploy. Changing this will trigger an - upgrade. - enum: - - train - type: string - required: - - keystoneRef - - api - - apiCfn - - engine - - targetRelease - - heatConfig - - database - - messageQueue - - memcached - - region - - issuerRef - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - lastUpdateTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - enum: - - Converged - - GarbageCollected - type: string - required: - - lastTransitionTime - - lastUpdateTime - - message - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - installedRelease: - description: The last successfully deployed release. - type: string - nextRelease: - description: The next release to roll out. This differs from installedRelease - during upgrades and from targetRelease during multi-step upgrades. - type: string - observedGeneration: - type: integer - phase: - enum: - - Created - - Updating - - WaitingForDependency - - Updated - - BackingOff - - InvalidConfiguration - type: string - updatedGeneration: - type: integer - required: - - conditions - - observedGeneration - - phase - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/charts/crds/templates/gen-cue-infra-ironic-crd.cue.yaml b/charts/crds/templates/gen-cue-infra-ironic-crd.cue.yaml index c1c0877..ca87d76 100644 --- a/charts/crds/templates/gen-cue-infra-ironic-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-infra-ironic-crd.cue.yaml @@ -1691,12 +1691,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - ussuri - - victoria - - wallaby - - xena - - yoga - zed - '2023.1' type: string diff --git a/charts/crds/templates/gen-cue-keystone-crd.cue.yaml b/charts/crds/templates/gen-cue-keystone-crd.cue.yaml index 5f9c91d..254b192 100644 --- a/charts/crds/templates/gen-cue-keystone-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-keystone-crd.cue.yaml @@ -1078,12 +1078,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - ussuri - - victoria - - wallaby - - xena - - yoga - zed - '2023.1' - '2023.2' diff --git a/charts/crds/templates/gen-cue-keystone-user-crd.cue.yaml b/charts/crds/templates/gen-cue-keystone-user-crd.cue.yaml index bfc2858..59bac06 100644 --- a/charts/crds/templates/gen-cue-keystone-user-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-keystone-user-crd.cue.yaml @@ -47,6 +47,11 @@ spec: required: - name type: object + role: + description: Uses this role to bind the User to the service project. + If not provided the admin role will be used. If the role does not + exists, it will be created. + type: string required: - keystoneRef type: object diff --git a/charts/crds/templates/gen-cue-mysql-service-crd.cue.yaml b/charts/crds/templates/gen-cue-mysql-service-crd.cue.yaml index e67ab64..24bc486 100644 --- a/charts/crds/templates/gen-cue-mysql-service-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-mysql-service-crd.cue.yaml @@ -34,6 +34,10 @@ spec: properties: spec: properties: + additionalFrontendCertDnsNames: + items: + type: string + type: array backendCAIssuerRef: description: '' properties: diff --git a/charts/crds/templates/gen-cue-neutron-bgp-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-bgp-crd.cue.yaml deleted file mode 100644 index 2694b61..0000000 --- a/charts/crds/templates/gen-cue-neutron-bgp-crd.cue.yaml +++ /dev/null @@ -1,347 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - helm.sh/resource-policy: keep - name: neutronbgpdragents.network.yaook.cloud -spec: - group: network.yaook.cloud - names: - kind: NeutronBGPDRAgent - plural: neutronbgpdragents - shortNames: - - bgpdragent - - bgpdragents - singular: neutronbgpdragent - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Current status of the Resource - jsonPath: .status.phase - name: Phase - type: string - - description: The reason for the current status - jsonPath: .status.conditions[?(@.type=="Converged")].reason - name: Reason - type: string - - description: The state of the service - jsonPath: .status.state - name: State - type: string - - description: Eviction status - jsonPath: .status.eviction.mode - name: Evicting - type: string - - description: Enabled status - jsonPath: .status.conditions[?(@.type=="Enabled")].status - name: Enabled - type: string - - description: Requires Recreation status - jsonPath: .status.conditions[?(@.type=="RequiresRecreation")].status - name: Requires Recreation - type: string - name: v1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - bgpInterfaceMapping: - properties: - bridgeName: - type: string - required: - - bridgeName - type: object - caCertificates: - description: CA Certificates that should be added to all services - can be placed here. CAs that issue certificates to the service are - automatically added and do not need to be specified. - items: - type: string - type: array - x-kubernetes-list-type: set - caConfigMapName: - type: string - configKey: - type: string - hostname: - type: string - imagePullSecrets: - description: References to image pull secrets which should be included - in all Pods spawned directly or indirectly by this resource. - items: - description: '' - properties: - name: - type: string - required: - - name - type: object - type: array - keystoneRef: - description: Keystone deployment to link this service to - properties: - kind: - default: KeystoneDeployment - description: Specify the kind of Keystone deployment to reference - enum: - - KeystoneDeployment - - ExternalKeystoneDeployment - type: string - name: - type: string - required: - - name - type: object - lockName: - type: string - messageQueue: - properties: - amqpServerRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - required: - - amqpServerRef - type: object - neutronBGPDRAgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - novaRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - region: - description: Configure the Region to use for this OpenStack service. - properties: - name: - default: RegionOne - description: Name of the OpenStack region to connect with and - to set up the own endpoints in. - type: string - parent: - type: string - type: object - resources: - properties: - bgp-evict-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-bgp-dragent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-bgp-interface-setup: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - state: - default: Enabled - enum: - - Enabled - - Disabled - - DisabledAndCleared - type: string - targetRelease: - description: The release to deploy. Changing this will trigger an - upgrade. - enum: - - train - type: string - required: - - bgpInterfaceMapping - - caConfigMapName - - configKey - - keystoneRef - - messageQueue - - neutronBGPDRAgentConfig - - novaRef - - targetRelease - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - lastUpdateTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - enum: - - Converged - - GarbageCollected - - Evicted - - Enabled - - BoundToNode - - RequiresRecreation - type: string - required: - - lastTransitionTime - - lastUpdateTime - - message - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - eviction: - nullable: true - properties: - reason: - type: string - required: - - reason - type: object - installedRelease: - description: The last successfully deployed release. - type: string - nextRelease: - description: The next release to roll out. This differs from installedRelease - during upgrades and from targetRelease during multi-step upgrades. - type: string - observedGeneration: - type: integer - phase: - enum: - - Created - - Updating - - WaitingForDependency - - Updated - - BackingOff - - InvalidConfiguration - type: string - state: - default: Creating - enum: - - Creating - - Enabled - - Disabled - - Evicting - - DisabledAndCleared - type: string - updatedGeneration: - type: integer - required: - - conditions - - observedGeneration - - phase - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/charts/crds/templates/gen-cue-neutron-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-crd.cue.yaml index 5ae63f9..403c504 100644 --- a/charts/crds/templates/gen-cue-neutron-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-neutron-crd.cue.yaml @@ -828,6 +828,12 @@ spec: description: Number of replicas for the service type: integer resources: + description: It is recommended to set these resource limits to + bypass problems with cgroup limits for RabbitMQ. The infra operator + will use these values to configure RabbitMQ resource limits + separately by setting the fields total_memory_available_override_value + and default_worker_pool_size inside /etc/rabbitmq/rabbitmq.conf + . properties: rabbitmq: description: Define resource requests/limits for the RabbitMQ @@ -969,11 +975,8 @@ spec: type: object type: object setup: - description: The type of neutron setup you want. You can choose between - 'ovs' and 'ovn'. + description: The type of neutron setup you want. You can choose 'ovn'. oneOf: - - required: - - ovs - required: - ovn properties: @@ -2279,740 +2282,11 @@ spec: - northd - southboundOVSDB type: object - ovs: - properties: - bgp: - additionalProperties: - properties: - configTemplates: - description: Label-selected configuration templates. - This is **a list of objects**, each describing a piece - of configuration. - items: - description: 'A single configuration template snippet. - This is applied to nodes based on the nodeSelectors. - - - Configuration options are merged intelligently, - generally using cuelang semantics. That means that - conflicting values will always cause an InvalidConfiguration - error during rollout.' - properties: - bgpInterfaceMapping: - properties: - bridgeName: - type: string - required: - - bridgeName - type: object - neutronBGPDRAgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose - keys correspond to config keys within that section. - type: object - neutronConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose - keys correspond to config keys within that section. - type: object - nodeSelectors: - description: List of node selectors, used to select - the nodes to which the configuration applies. - Each node selector selects a group of nodes; - the groups are OR'ed together. - items: - description: A single node selector. - properties: - matchLabels: - additionalProperties: - type: string - description: Label keys and values all of - which nodes must have to match the node - selector. - type: object - required: - - matchLabels - type: object - type: array - required: - - nodeSelectors - type: object - type: array - resources: - properties: - bgp-evict-job: - description: Define resource requests/limits for - the container - properties: - limits: - description: Define resource limits for the - container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-bgp-dragent: - description: Define resource requests/limits for - the container - properties: - limits: - description: Define resource limits for the - container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-bgp-interface-setup: - description: Define resource requests/limits for - the container - properties: - limits: - description: Define resource limits for the - container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - required: - - configTemplates - type: object - type: object - dhcp: - properties: - configTemplates: - description: Label-selected configuration templates. This - is **a list of objects**, each describing a piece of - configuration. - items: - description: 'A single configuration template snippet. - This is applied to nodes based on the nodeSelectors. - - - Configuration options are merged intelligently, generally - using cuelang semantics. That means that conflicting - values will always cause an InvalidConfiguration error - during rollout.' - properties: - neutronConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - neutronDHCPAgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - neutronMetadataAgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - nodeSelectors: - description: List of node selectors, used to select - the nodes to which the configuration applies. - Each node selector selects a group of nodes; the - groups are OR'ed together. - items: - description: A single node selector. - properties: - matchLabels: - additionalProperties: - type: string - description: Label keys and values all of - which nodes must have to match the node - selector. - type: object - required: - - matchLabels - type: object - type: array - required: - - nodeSelectors - type: object - type: array - evictor: - description: Configuration for the DHCP eviction job - properties: - maxParallelMigrations: - default: 5 - description: Defines how many networks may be evacuated - in parallel per iteration - type: integer - pollInterval: - default: 5 - description: Defines in seconds how long to wait between - iterates until the next poll of the API - type: integer - type: object - resources: - properties: - dhcp-evict-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-dhcp-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-metadata-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - required: - - configTemplates - type: object - l2: - properties: - configTemplates: - description: Label-selected configuration templates. This - is **a list of objects**, each describing a piece of - configuration. - items: - description: 'A single configuration template snippet. - This is applied to nodes based on the nodeSelectors. - - - Configuration options are merged intelligently, generally - using cuelang semantics. That means that conflicting - values will always cause an InvalidConfiguration error - during rollout.' - properties: - bridgeConfig: - items: - properties: - bridgeName: - type: string - uplinkDevice: - type: string - required: - - bridgeName - - uplinkDevice - type: object - type: array - neutronConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - neutronOpenvSwitchAgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - nodeSelectors: - description: List of node selectors, used to select - the nodes to which the configuration applies. - Each node selector selects a group of nodes; the - groups are OR'ed together. - items: - description: A single node selector. - properties: - matchLabels: - additionalProperties: - type: string - description: Label keys and values all of - which nodes must have to match the node - selector. - type: object - required: - - matchLabels - type: object - type: array - overlayNetworkConfig: - properties: - ovs_local_ip_subnet: - type: string - type: object - required: - - nodeSelectors - type: object - type: array - resources: - properties: - neutron-openvswitch-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-ovs-bridge-setup: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ovs-vswitchd: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ovsdb-server: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - required: - - configTemplates - type: object - l3: - properties: - configTemplates: - description: Label-selected configuration templates. This - is **a list of objects**, each describing a piece of - configuration. - items: - description: 'A single configuration template snippet. - This is applied to nodes based on the nodeSelectors. - - - Configuration options are merged intelligently, generally - using cuelang semantics. That means that conflicting - values will always cause an InvalidConfiguration error - during rollout.' - properties: - neutronConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - neutronL3AgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - neutronMetadataAgentConfig: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration - file sections, the values are objects whose keys - correspond to config keys within that section. - type: object - nodeSelectors: - description: List of node selectors, used to select - the nodes to which the configuration applies. - Each node selector selects a group of nodes; the - groups are OR'ed together. - items: - description: A single node selector. - properties: - matchLabels: - additionalProperties: - type: string - description: Label keys and values all of - which nodes must have to match the node - selector. - type: object - required: - - matchLabels - type: object - type: array - required: - - nodeSelectors - type: object - type: array - evictor: - description: Configuration for the L3 eviction job - properties: - allowFallback: - default: true - description: This setting allows the evict job to - disable the agent if not all routers could be migrated - because no agent was available for them. This violates - redundancy and is unsafe - type: boolean - maxParallelMigrations: - default: 15 - description: Defines how many routers may be evacuated - in parallel per iteration - type: integer - pollInterval: - default: 5 - description: Defines in seconds how long to wait between - iterates until the next poll of the API. - type: integer - respectAvailabilityZones: - default: false - description: If enabled, excludes all agents where - the router is already scheduled except the availibility - zone of the agent being evicted. - type: boolean - verifySeconds: - default: 0 - description: If the value is greater than 0, allows - the user to specify how long the API should be queried - until the router is active, if this did not work - in the defined time period an error is logged - type: integer - type: object - resources: - properties: - l3-evict-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-l3-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-metadata-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the - container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - startupLimitMinutes: - default: 60 - type: integer - required: - - configTemplates - type: object - required: - - l2 - - l3 - - dhcp - type: object type: object targetRelease: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - yoga - zed - '2023.1' type: string diff --git a/charts/crds/templates/gen-cue-neutron-dhcp-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-dhcp-crd.cue.yaml deleted file mode 100644 index fdbc867..0000000 --- a/charts/crds/templates/gen-cue-neutron-dhcp-crd.cue.yaml +++ /dev/null @@ -1,356 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - helm.sh/resource-policy: keep - name: neutrondhcpagents.network.yaook.cloud -spec: - group: network.yaook.cloud - names: - kind: NeutronDHCPAgent - plural: neutrondhcpagents - shortNames: - - dhcpagent - - dhcpagents - singular: neutrondhcpagent - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Current status of the Resource - jsonPath: .status.phase - name: Phase - type: string - - description: The reason for the current status - jsonPath: .status.conditions[?(@.type=="Converged")].reason - name: Reason - type: string - - description: The state of the service - jsonPath: .status.state - name: State - type: string - - description: Eviction status - jsonPath: .status.eviction.mode - name: Evicting - type: string - - description: Enabled status - jsonPath: .status.conditions[?(@.type=="Enabled")].status - name: Enabled - type: string - - description: Requires Recreation status - jsonPath: .status.conditions[?(@.type=="RequiresRecreation")].status - name: Requires Recreation - type: string - name: v1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - caCertificates: - description: CA Certificates that should be added to all services - can be placed here. CAs that issue certificates to the service are - automatically added and do not need to be specified. - items: - type: string - type: array - x-kubernetes-list-type: set - caConfigMapName: - type: string - evictor: - description: Configuration for the DHCP eviction job - properties: - maxParallelMigrations: - default: 5 - description: Defines how many networks may be evacuated in parallel - per iteration - type: integer - pollInterval: - default: 5 - description: Defines in seconds how long to wait between iterates - until the next poll of the API - type: integer - type: object - imagePullSecrets: - description: References to image pull secrets which should be included - in all Pods spawned directly or indirectly by this resource. - items: - description: '' - properties: - name: - type: string - required: - - name - type: object - type: array - keystoneRef: - description: Keystone deployment to link this service to - properties: - kind: - default: KeystoneDeployment - description: Specify the kind of Keystone deployment to reference - enum: - - KeystoneDeployment - - ExternalKeystoneDeployment - type: string - name: - type: string - required: - - name - type: object - messageQueue: - properties: - amqpServerRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - required: - - amqpServerRef - type: object - neutronConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronDHCPAgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronMetadataAgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - novaRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - region: - description: Configure the Region to use for this OpenStack service. - properties: - name: - default: RegionOne - description: Name of the OpenStack region to connect with and - to set up the own endpoints in. - type: string - parent: - type: string - type: object - resources: - properties: - dhcp-evict-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-dhcp-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-metadata-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - state: - default: Enabled - enum: - - Enabled - - Disabled - - DisabledAndCleared - type: string - targetRelease: - description: The release to deploy. Changing this will trigger an - upgrade. - enum: - - train - type: string - required: - - keystoneRef - - caConfigMapName - - messageQueue - - neutronDHCPAgentConfig - - novaRef - - targetRelease - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - lastUpdateTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - enum: - - Converged - - GarbageCollected - - Evicted - - Enabled - - BoundToNode - - RequiresRecreation - type: string - required: - - lastTransitionTime - - lastUpdateTime - - message - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - eviction: - nullable: true - properties: - reason: - type: string - required: - - reason - type: object - installedRelease: - description: The last successfully deployed release. - type: string - nextRelease: - description: The next release to roll out. This differs from installedRelease - during upgrades and from targetRelease during multi-step upgrades. - type: string - observedGeneration: - type: integer - phase: - enum: - - Created - - Updating - - WaitingForDependency - - Updated - - BackingOff - - InvalidConfiguration - type: string - state: - default: Creating - enum: - - Creating - - Enabled - - Disabled - - Evicting - - DisabledAndCleared - type: string - updatedGeneration: - type: integer - required: - - conditions - - observedGeneration - - phase - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/charts/crds/templates/gen-cue-neutron-l2-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-l2-crd.cue.yaml deleted file mode 100644 index 00ac8b5..0000000 --- a/charts/crds/templates/gen-cue-neutron-l2-crd.cue.yaml +++ /dev/null @@ -1,366 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - helm.sh/resource-policy: keep - name: neutronl2agents.network.yaook.cloud -spec: - group: network.yaook.cloud - names: - kind: NeutronL2Agent - plural: neutronl2agents - shortNames: - - l2agent - - l2agents - singular: neutronl2agent - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Current status of the Resource - jsonPath: .status.phase - name: Phase - type: string - - description: The reason for the current status - jsonPath: .status.conditions[?(@.type=="Converged")].reason - name: Reason - type: string - - description: The state of the service - jsonPath: .status.state - name: State - type: string - - description: Eviction status - jsonPath: .status.eviction.mode - name: Evicting - type: string - - description: Enabled status - jsonPath: .status.conditions[?(@.type=="Enabled")].status - name: Enabled - type: string - - description: Requires Recreation status - jsonPath: .status.conditions[?(@.type=="RequiresRecreation")].status - name: Requires Recreation - type: string - name: v1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - bridgeConfig: - items: - properties: - bridgeName: - type: string - uplinkDevice: - type: string - required: - - bridgeName - - uplinkDevice - type: object - type: array - caCertificates: - description: CA Certificates that should be added to all services - can be placed here. CAs that issue certificates to the service are - automatically added and do not need to be specified. - items: - type: string - type: array - x-kubernetes-list-type: set - caConfigMapName: - type: string - imagePullSecrets: - description: References to image pull secrets which should be included - in all Pods spawned directly or indirectly by this resource. - items: - description: '' - properties: - name: - type: string - required: - - name - type: object - type: array - keystoneRef: - description: Keystone deployment to link this service to - properties: - kind: - default: KeystoneDeployment - description: Specify the kind of Keystone deployment to reference - enum: - - KeystoneDeployment - - ExternalKeystoneDeployment - type: string - name: - type: string - required: - - name - type: object - messageQueue: - properties: - amqpServerRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - required: - - amqpServerRef - type: object - neutronConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronOpenvSwitchAgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - overlayNetworkConfig: - properties: - ovs_local_ip_subnet: - type: string - type: object - region: - description: Configure the Region to use for this OpenStack service. - properties: - name: - default: RegionOne - description: Name of the OpenStack region to connect with and - to set up the own endpoints in. - type: string - parent: - type: string - type: object - resources: - properties: - neutron-openvswitch-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-ovs-bridge-setup: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ovs-vswitchd: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - ovsdb-server: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - state: - default: Enabled - enum: - - Enabled - type: string - targetRelease: - description: The release to deploy. Changing this will trigger an - upgrade. - enum: - - train - type: string - required: - - keystoneRef - - caConfigMapName - - messageQueue - - neutronOpenvSwitchAgentConfig - - targetRelease - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - lastUpdateTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - enum: - - Converged - - GarbageCollected - - Evicted - - Enabled - - BoundToNode - - RequiresRecreation - type: string - required: - - lastTransitionTime - - lastUpdateTime - - message - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - eviction: - nullable: true - properties: - reason: - type: string - required: - - reason - type: object - installedRelease: - description: The last successfully deployed release. - type: string - nextRelease: - description: The next release to roll out. This differs from installedRelease - during upgrades and from targetRelease during multi-step upgrades. - type: string - observedGeneration: - type: integer - phase: - enum: - - Created - - Updating - - WaitingForDependency - - Updated - - BackingOff - - InvalidConfiguration - type: string - state: - default: Creating - enum: - - Creating - - Enabled - - Disabled - - Evicting - - DisabledAndCleared - type: string - updatedGeneration: - type: integer - required: - - conditions - - observedGeneration - - phase - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/charts/crds/templates/gen-cue-neutron-l3-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-l3-crd.cue.yaml deleted file mode 100644 index beb3152..0000000 --- a/charts/crds/templates/gen-cue-neutron-l3-crd.cue.yaml +++ /dev/null @@ -1,379 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - helm.sh/resource-policy: keep - name: neutronl3agents.network.yaook.cloud -spec: - group: network.yaook.cloud - names: - kind: NeutronL3Agent - plural: neutronl3agents - shortNames: - - l3agent - - l3agents - singular: neutronl3agent - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Current status of the Resource - jsonPath: .status.phase - name: Phase - type: string - - description: The reason for the current status - jsonPath: .status.conditions[?(@.type=="Converged")].reason - name: Reason - type: string - - description: The state of the service - jsonPath: .status.state - name: State - type: string - - description: Eviction status - jsonPath: .status.eviction.mode - name: Evicting - type: string - - description: Enabled status - jsonPath: .status.conditions[?(@.type=="Enabled")].status - name: Enabled - type: string - - description: Requires Recreation status - jsonPath: .status.conditions[?(@.type=="RequiresRecreation")].status - name: Requires Recreation - type: string - name: v1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - caCertificates: - description: CA Certificates that should be added to all services - can be placed here. CAs that issue certificates to the service are - automatically added and do not need to be specified. - items: - type: string - type: array - x-kubernetes-list-type: set - caConfigMapName: - type: string - evictor: - description: Configuration for the L3 eviction job - properties: - allowFallback: - default: true - description: This setting allows the evict job to disable the - agent if not all routers could be migrated because no agent - was available for them. This violates the redundancy and is - unsafe - type: boolean - maxParallelMigrations: - default: 15 - description: Defines how many routers may be evacuated in parallel - per iteration - type: integer - pollInterval: - default: 5 - description: Defines in seconds how long to wait between iterates - until the next poll of the API. - type: integer - respectAvailabilityZones: - default: false - description: If enabled, excludes all agents where the router - is already scheduled except the availibility zone of the agent - being evicted. - type: boolean - verifySeconds: - default: 0 - description: If the value is greater than 0, allows the user to - specify how long the API should be queried until the router - is active, if this did not work in the defined time period an - error is logged - type: integer - type: object - imagePullSecrets: - description: References to image pull secrets which should be included - in all Pods spawned directly or indirectly by this resource. - items: - description: '' - properties: - name: - type: string - required: - - name - type: object - type: array - keystoneRef: - description: Keystone deployment to link this service to - properties: - kind: - default: KeystoneDeployment - description: Specify the kind of Keystone deployment to reference - enum: - - KeystoneDeployment - - ExternalKeystoneDeployment - type: string - name: - type: string - required: - - name - type: object - messageQueue: - properties: - amqpServerRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - required: - - amqpServerRef - type: object - neutronConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronL3AgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - neutronMetadataAgentConfig: - items: - additionalProperties: - type: object - x-kubernetes-preserve-unknown-fields: true - description: The keys of this object are the configuration file - sections, the values are objects whose keys correspond to config - keys within that section. - type: object - type: array - novaRef: - description: '' - properties: - name: - type: string - required: - - name - type: object - region: - description: Configure the Region to use for this OpenStack service. - properties: - name: - default: RegionOne - description: Name of the OpenStack region to connect with and - to set up the own endpoints in. - type: string - parent: - type: string - type: object - resources: - properties: - l3-evict-job: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-l3-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - neutron-metadata-agent: - description: Define resource requests/limits for the container - properties: - limits: - description: Define resource limits for the container - properties: - cpu: - description: CPU time limit for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory limit for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - requests: - description: Define resource requests for the container - properties: - cpu: - description: CPU time request for the container - pattern: ^[1-9][0-9]*m?$ - type: string - memory: - description: Memory request for the container - pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ - type: string - type: object - type: object - type: object - startupLimitMinutes: - default: 60 - type: integer - state: - default: Enabled - enum: - - Enabled - - Disabled - - DisabledAndCleared - type: string - targetRelease: - description: The release to deploy. Changing this will trigger an - upgrade. - enum: - - train - type: string - required: - - keystoneRef - - caConfigMapName - - messageQueue - - neutronL3AgentConfig - - novaRef - - targetRelease - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - lastUpdateTime: - pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - enum: - - Converged - - GarbageCollected - - Evicted - - Enabled - - BoundToNode - - RequiresRecreation - type: string - required: - - lastTransitionTime - - lastUpdateTime - - message - - reason - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - eviction: - nullable: true - properties: - reason: - type: string - required: - - reason - type: object - installedRelease: - description: The last successfully deployed release. - type: string - nextRelease: - description: The next release to roll out. This differs from installedRelease - during upgrades and from targetRelease during multi-step upgrades. - type: string - observedGeneration: - type: integer - phase: - enum: - - Created - - Updating - - WaitingForDependency - - Updated - - BackingOff - - InvalidConfiguration - type: string - state: - default: Creating - enum: - - Creating - - Enabled - - Disabled - - Evicting - - DisabledAndCleared - type: string - updatedGeneration: - type: integer - required: - - conditions - - observedGeneration - - phase - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/charts/crds/templates/gen-cue-neutron-ovn-crd.cue.yaml b/charts/crds/templates/gen-cue-neutron-ovn-crd.cue.yaml index 92c4b4f..4821eda 100644 --- a/charts/crds/templates/gen-cue-neutron-ovn-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-neutron-ovn-crd.cue.yaml @@ -324,7 +324,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - yoga - zed - '2023.1' type: string diff --git a/charts/crds/templates/gen-cue-nova-compute-node-crd.cue.yaml b/charts/crds/templates/gen-cue-nova-compute-node-crd.cue.yaml index 058526b..f5a4801 100644 --- a/charts/crds/templates/gen-cue-nova-compute-node-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-nova-compute-node-crd.cue.yaml @@ -84,9 +84,6 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: array - evictPollMigrationSpeedLocalDisk: - default: 30 - type: integer eviction: description: Compute node eviction configuration properties: @@ -411,8 +408,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - yoga - zed type: string vnc: diff --git a/charts/crds/templates/gen-cue-nova-crd.cue.yaml b/charts/crds/templates/gen-cue-nova-crd.cue.yaml index 80d62bf..ad5d2b5 100644 --- a/charts/crds/templates/gen-cue-nova-crd.cue.yaml +++ b/charts/crds/templates/gen-cue-nova-crd.cue.yaml @@ -2192,13 +2192,6 @@ spec: required: - schedule type: object - evictPollMigrationSpeedLocalDisk: - default: 30 - description: The speed in MiB/s to what the migration of vms will - be temporarily limited, when the root disk is local and using poll - migration during the eviction process. Used 30 MiB/s as default, - based on experience. - type: integer eviction: description: Compute node eviction configuration properties: @@ -2523,6 +2516,12 @@ spec: description: Number of replicas for the service type: integer resources: + description: It is recommended to set these resource limits + to bypass problems with cgroup limits for RabbitMQ. The + infra operator will use these values to configure RabbitMQ + resource limits separately by setting the fields total_memory_available_override_value + and default_worker_pool_size inside /etc/rabbitmq/rabbitmq.conf + . properties: rabbitmq: description: Define resource requests/limits for the RabbitMQ @@ -3175,8 +3174,6 @@ spec: description: The release to deploy. Changing this will trigger an upgrade. enum: - - train - - yoga - zed type: string vnc: diff --git a/charts/crds/templates/gen-cue-powerdns-crd.cue.yaml b/charts/crds/templates/gen-cue-powerdns-crd.cue.yaml new file mode 100644 index 0000000..3c3dba2 --- /dev/null +++ b/charts/crds/templates/gen-cue-powerdns-crd.cue.yaml @@ -0,0 +1,621 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + helm.sh/resource-policy: keep + name: powerdnsservices.infra.yaook.cloud +spec: + group: infra.yaook.cloud + names: + kind: PowerDNSService + plural: powerdnsservices + shortNames: + - pdnss + - pdns + singular: powerdnsservice + scope: Namespaced + versions: + - additionalPrinterColumns: + - description: Current status of the Resource + jsonPath: .status.phase + name: Phase + type: string + - description: The reason for the current status + jsonPath: .status.conditions[?(@.type=="Converged")].reason + name: Reason + type: string + - description: Informative messages + jsonPath: .status.conditions[?(@.type=="Converged")].message + name: Message + type: string + name: v1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + apiKeySecret: + description: A single secret injection configuration. This will set + the secret value as the API key inside the PowerDNS configuration. + properties: + key: + description: Key of the Kubernetes Secret to read + type: string + secretName: + description: Name of the Kubernetes Secret to read + type: string + required: + - secretName + - key + type: object + caCertificates: + description: CA Certificates that should be added to all services + can be placed here. CAs that issue certificates to the service are + automatically added and do not need to be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + database: + description: Configure the database deployment + properties: + backup: + description: Configure automated database backups + properties: + mysqldump: + default: false + description: Execute a plain mysqldump in addition to the + standard backup. + type: boolean + schedule: + default: 0 0 * * * + description: Schedule in which to create backups. The schedule + is given in standard cron notation. + pattern: ((\d+|([\d*]+(\/|-)\d+)|\*) ?){5} + type: string + targets: + anyOf: + - required: + - s3 + description: Configure zero or more targets to save the backups + to. If no targets are configured, backups will only be stored + within the pod and are gone when the pod is deleted. + properties: + s3: + description: Send backups into an S3 bucket. + properties: + addressingStyle: + default: virtual + type: string + bucket: + description: Name of the bucket to store data into + type: string + credentialRef: + description: Reference a Secret for the S3 credentials + properties: + name: + type: string + required: + - name + type: object + endpoint: + description: URL to the S3 service + type: string + filePrefix: + description: Prefix to add to the file name before + storing it in the bucket + type: string + required: + - endpoint + - bucket + - credentialRef + type: object + type: object + required: + - schedule + type: object + mysqlConfig: + description: Additional MySQL configuration. This is more detailed + than typical configuration snippets because of the special `optimizer_switch` + config option. + properties: + client-server: + description: Configuration options for the client-server section. + type: object + x-kubernetes-preserve-unknown-fields: true + galera: + description: Configuration options for the galera section. + type: object + x-kubernetes-preserve-unknown-fields: true + mysqld: + description: Configuration options for the mysqld section. + properties: + optimizer_switch: + additionalProperties: + type: boolean + description: Boolean flags for individual optimizer switches. + See MariaDB upstream configuration for details. + type: object + type: object + x-kubernetes-preserve-unknown-fields: true + sst: + description: Configuration options for the sst section. + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + proxy: + description: Configure the proxy deployment, which brokers traffic + to the database + properties: + replicas: + default: 2 + description: Number of replicas for the service + type: integer + resources: + description: Configure resource requests/limits for containers + related to the database proxy. + properties: + create-ca-bundle: + description: Define resource requests/limits for the create-ca-bundle + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + haproxy: + description: Define resource requests/limits for the haproxy + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + service-reload: + description: Define resource requests/limits for the service-reload + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + type: object + scheduleRuleWhenUnsatisfiable: + default: ScheduleAnyway + description: whenUnsatisfiable indicates how to deal with + a Pod if it doesn't satisfy the spread constraint + enum: + - ScheduleAnyway + - DoNotSchedule + type: string + type: object + replicas: + default: 3 + description: Number of replicas for the service + type: integer + resources: + properties: + backup-creator: + description: Define resource requests/limits for the backup-creator + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + backup-shifter: + description: Define resource requests/limits for the backup-shifter + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + mariadb-galera: + description: Define resource requests/limits for the mariadb-galera + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + mysqld-exporter: + description: Define resource requests/limits for the mysqld-exporter + container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + type: object + scheduleRuleWhenUnsatisfiable: + default: ScheduleAnyway + description: whenUnsatisfiable indicates how to deal with a Pod + if it doesn't satisfy the spread constraint + enum: + - ScheduleAnyway + - DoNotSchedule + type: string + storageClassName: + description: Storage class name. If unset, the cluster-wide default + storage class will be used. If that storage class is not set + or does not work, the deployment will be broken. Changing storage + classes after the initial rollout requires manual intervention. + type: string + storageSize: + default: 8Gi + description: Size to request for the PVC. Changing the size after + the initial rollout requires manual intervention. + pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ + type: string + timeoutClient: + default: 300 + description: Defines the maximum time a client can be inactive + when connected to the server. Hint should be ~10% more than + connection_recycle_time. + type: integer + tolerateNodeDown: + default: false + description: If set, Kubernetes will not evict the pod after 300s + in case of a NodeDown or Node unreachable. + type: boolean + required: + - proxy + - backup + type: object + issuerRef: + description: Reference an issuer for the certificates used internally + by YAOOK (and, by default, also for external services unless overridden). + properties: + name: + default: ca-issuer + description: Name of the cert-manager Issuer object + type: string + type: object + loadBalancerIP: + description: IP address of the load balancer for the PowerDNS webserver + type: string + powerdnsConfig: + description: Key value pairs to overwrite pdns.conf settings + type: object + x-kubernetes-preserve-unknown-fields: true + replicas: + default: 3 + description: Number of replicas for the service + type: integer + resources: + properties: + powerdns: + description: Define resource requests/limits for the container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + service-reload: + description: Define resource requests/limits for the container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + ssl-terminator: + description: Define resource requests/limits for the container + properties: + limits: + description: Define resource limits for the container + properties: + cpu: + description: CPU time limit for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory limit for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + requests: + description: Define resource requests for the container + properties: + cpu: + description: CPU time request for the container + pattern: ^[1-9][0-9]*m?$ + type: string + memory: + description: Memory request for the container + pattern: ^[1-9][0-9]*(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$ + type: string + type: object + type: object + type: object + scheduleRuleWhenUnsatisfiable: + default: ScheduleAnyway + description: whenUnsatisfiable indicates how to deal with a Pod if + it doesn't satisfy the spread constraint + enum: + - ScheduleAnyway + - DoNotSchedule + type: string + serviceMonitor: + description: Configure the ServiceMonitor objects created by the operator. + properties: + additionalLabels: + additionalProperties: + type: string + description: Additional labels to set on the ServiceMonitor metadata. + type: object + type: object + subnetCidr: + description: IP range of the k8s pod network. Used to only allow requests + from within the k8s network. + type: string + targetRelease: + description: The release to deploy. Changing this will trigger an + upgrade. + enum: + - '4.9' + type: string + required: + - database + - targetRelease + - subnetCidr + - apiKeySecret + - issuerRef + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' + type: string + lastUpdateTime: + pattern: '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z' + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + enum: + - Converged + - GarbageCollected + type: string + required: + - lastTransitionTime + - lastUpdateTime + - message + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + installedRelease: + description: The last successfully deployed release. + type: string + nextRelease: + description: The next release to roll out. This differs from installedRelease + during upgrades and from targetRelease during multi-step upgrades. + type: string + observedGeneration: + type: integer + phase: + enum: + - Created + - Updating + - WaitingForDependency + - Updated + - BackingOff + - InvalidConfiguration + type: string + replicas: + type: integer + updatedGeneration: + type: integer + required: + - conditions + - observedGeneration + - phase + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/glance-operator/Chart.yaml b/charts/glance-operator/Chart.yaml index f4442b8..e109f34 100644 --- a/charts/glance-operator/Chart.yaml +++ b/charts/glance-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook glance operator type: application name: glance-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/horizon-operator/Chart.yaml b/charts/horizon-operator/Chart.yaml index 1f8e999..a215c9e 100644 --- a/charts/horizon-operator/Chart.yaml +++ b/charts/horizon-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook horizon operator type: application name: horizon-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/infra-operator/Chart.yaml b/charts/infra-operator/Chart.yaml index 90ac157..81ee957 100644 --- a/charts/infra-operator/Chart.yaml +++ b/charts/infra-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook infrastructure service operator (databases, caches, message queues) type: application name: infra-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/infra-operator/templates/gen-roles.yaml b/charts/infra-operator/templates/gen-roles.yaml index 92545d8..62d6abc 100644 --- a/charts/infra-operator/templates/gen-roles.yaml +++ b/charts/infra-operator/templates/gen-roles.yaml @@ -126,6 +126,26 @@ rules: verbs: - get - list +- apiGroups: + - batch + resources: + - jobs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch +- apiGroups: + - batch + resources: + - jobs/status + verbs: + - get + - list - apiGroups: - cert-manager.io resources: @@ -229,9 +249,13 @@ rules: resources: - mysqlservices verbs: + - create + - delete + - deletecollection - get - list - patch + - update - watch - apiGroups: - infra.yaook.cloud @@ -247,9 +271,13 @@ rules: resources: - mysqlusers verbs: + - create + - delete + - deletecollection - get - list - patch + - update - watch - apiGroups: - infra.yaook.cloud @@ -257,6 +285,7 @@ rules: - mysqlusers/status verbs: - get + - list - patch - update - apiGroups: @@ -276,6 +305,23 @@ rules: - get - patch - update +- apiGroups: + - infra.yaook.cloud + resources: + - powerdnsservices + verbs: + - get + - list + - patch + - watch +- apiGroups: + - infra.yaook.cloud + resources: + - powerdnsservices/status + verbs: + - get + - patch + - update - apiGroups: - monitoring.coreos.com resources: diff --git a/charts/keystone-operator/Chart.yaml b/charts/keystone-operator/Chart.yaml index 5942489..c261ac1 100644 --- a/charts/keystone-operator/Chart.yaml +++ b/charts/keystone-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook keystone operator type: application name: keystone-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file diff --git a/charts/keystone-resources-operator/Chart.yaml b/charts/keystone-resources-operator/Chart.yaml index b8375dd..9c2b4ca 100644 --- a/charts/keystone-resources-operator/Chart.yaml +++ b/charts/keystone-resources-operator/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 description: Yaook Keystone resources operator (users, endpoints) type: application name: keystone-resources-operator -version: "0.20240801.0" -appVersion: "0.20240801.0" +version: "0.20240919.2" +appVersion: "0.20240919.2" kubeVersion: ">=1.16.0-0" \ No newline at end of file