From cbb6197185478dc1e944a55d444d5e876f6874ef Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Wed, 3 Jul 2024 12:33:47 +0200 Subject: [PATCH] [manifests] Updated set of manifests --- .../templates/manifests.yaml | 106 +++++++++++------- 1 file changed, 64 insertions(+), 42 deletions(-) diff --git a/charts/authorino-operator/templates/manifests.yaml b/charts/authorino-operator/templates/manifests.yaml index 577605d..d03f50f 100644 --- a/charts/authorino-operator/templates/manifests.yaml +++ b/charts/authorino-operator/templates/manifests.yaml @@ -5403,8 +5403,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.6.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.15.0 name: authorinos.operator.authorino.kuadrant.io spec: group: operator.authorino.kuadrant.io @@ -5421,14 +5420,19 @@ spec: description: Authorino is the Schema for the authorinos API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -5461,8 +5465,9 @@ spec: service (HTTP interface), in bytes. type: integer port: - description: 'Port number of the GRPC interface. DEPRECATED: use - ''ports.grpc'' instead.' + description: |- + Port number of the GRPC interface. + DEPRECATED: use 'ports.grpc' instead. format: int32 type: integer ports: @@ -5484,15 +5489,18 @@ spec: interfaces). properties: certSecretRef: - description: LocalObjectReference contains enough information - to let you locate the referenced object inside the same - namespace. + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object + x-kubernetes-map-type: atomic enabled: type: boolean type: object @@ -5519,15 +5527,18 @@ spec: tls: properties: certSecretRef: - description: LocalObjectReference contains enough information - to let you locate the referenced object inside the same - namespace. + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid?' + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object + x-kubernetes-map-type: atomic enabled: type: boolean type: object @@ -5578,22 +5589,21 @@ spec: description: key is the key to project. type: string mode: - description: 'mode is Optional: mode bits used to - set permissions on this file. Must be an octal value - between 0000 and 0777 or a decimal value between - 0 and 511. YAML accepts both octal and decimal values, - JSON requires decimal values for mode bits. If not - specified, the volume defaultMode will be used. - This might be in conflict with other options that - affect the file mode, like fsGroup, and the result - can be other mode bits set.' + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. format: int32 type: integer path: - description: path is the relative path of the file - to map the key to. May not be an absolute path. - May not contain the path element '..'. May not start - with the string '..'. + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -5624,8 +5634,9 @@ spec: description: AuthorinoStatus defines the observed state of Authorino properties: conditions: - description: 'Conditions is an array of the current Authorino''s CR - conditions Supported condition types: ConditionReady' + description: |- + Conditions is an array of the current Authorino's CR conditions + Supported condition types: ConditionReady items: properties: lastTransitionTime: @@ -5664,12 +5675,6 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: v1 kind: ServiceAccount @@ -5823,7 +5828,6 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: authorino-operator-manager rules: - apiGroups: @@ -6115,6 +6119,21 @@ metadata: --- apiVersion: v1 kind: Service +metadata: + labels: + control-plane: authorino-operator + name: authorino-operator-metrics + namespace: authorino-operator +spec: + ports: + - name: metrics + port: 8080 + targetPort: metrics + selector: + control-plane: authorino-operator +--- +apiVersion: v1 +kind: Service metadata: labels: app: authorino @@ -6160,6 +6179,9 @@ spec: initialDelaySeconds: 15 periodSeconds: 20 name: manager + ports: + - containerPort: 8080 + name: metrics readinessProbe: httpGet: path: /readyz