Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add Kuadrant/authorino-operator #51

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ Files: crd-catalog/ktsstudio/mirrors/*
Copyright: The ktsstudio/mirrors Authors
License: Apache-2.0

Files: crd-catalog/Kuadrant/authorino-operator/*
Copyright: The Kuadrant/authorino-operator Authors
License: Apache-2.0

Files: crd-catalog/kube-logging/logging-operator/*
Copyright: The kube-logging/logging-operator Authors
License: Apache-2.0
Expand Down
7 changes: 7 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,13 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/ktsstudio/mirrors/blob/main/config/crd/bases/mirrors.kts.studio_secretmirrors.yaml",
],
},
UpstreamSource {
project_name: "Kuadrant/authorino-operator",
license: APACHE_V2,
urls: &[
"https://github.com/Kuadrant/authorino-operator/blob/main/config/crd/bases/operator.authorino.kuadrant.io_authorinos.yaml",
],
},
UpstreamSource {
project_name: "kube-logging/logging-operator",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.1
name: authorinos.operator.authorino.kuadrant.io
spec:
group: operator.authorino.kuadrant.io
names:
kind: Authorino
listKind: AuthorinoList
plural: authorinos
singular: authorino
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
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'
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'
type: string
metadata:
type: object
spec:
description: AuthorinoSpec defines the desired state of Authorino
properties:
authConfigLabelSelectors:
type: string
clusterWide:
type: boolean
evaluatorCacheSize:
type: integer
healthz:
properties:
port:
description: Port number of the health/readiness probe endpoints.
format: int32
type: integer
type: object
image:
type: string
imagePullPolicy:
description: PullPolicy describes a policy for if/when to pull a container image
type: string
listener:
properties:
maxHttpRequestBodySize:
description: Maximum payload (request body) size for the auth service (HTTP interface), in bytes.
type: integer
port:
description: 'Port number of the GRPC interface. DEPRECATED: use ''ports.grpc'' instead.'
format: int32
type: integer
ports:
description: Port numbers of the GRPC and HTTP auth interfaces.
properties:
grpc:
format: int32
type: integer
http:
format: int32
type: integer
type: object
timeout:
description: Timeout of the auth service (GRPC and HTTP interfaces), in milliseconds.
type: integer
tls:
description: TLS configuration of the auth service (GRPC and HTTP interfaces).
properties:
certSecretRef:
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?'
type: string
type: object
enabled:
type: boolean
type: object
required:
- tls
type: object
logLevel:
type: string
logMode:
type: string
metrics:
properties:
deep:
type: boolean
port:
format: int32
type: integer
type: object
oidcServer:
properties:
port:
format: int32
type: integer
tls:
properties:
certSecretRef:
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?'
type: string
type: object
enabled:
type: boolean
type: object
required:
- tls
type: object
replicas:
format: int32
type: integer
secretLabelSelectors:
type: string
supersedingHostSubsets:
type: boolean
tracing:
properties:
endpoint:
type: string
tags:
additionalProperties:
type: string
type: object
required:
- endpoint
type: object
volumes:
properties:
defaultMode:
description: Permissions mode.
format: int32
type: integer
items:
items:
properties:
configMaps:
description: Allow multiple configmaps to mount to the same directory
items:
type: string
type: array
items:
description: Mount details
items:
description: Maps a string key to a path within a volume.
properties:
key:
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.'
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 '..'.
type: string
required:
- key
- path
type: object
type: array
mountPath:
description: An absolute path where to mount it
type: string
name:
description: Volume name
type: string
secrets:
description: Secret mount
items:
type: string
type: array
required:
- mountPath
type: object
type: array
type: object
required:
- listener
- oidcServer
type: object
status:
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'
items:
properties:
lastTransitionTime:
description: Last time the condition transit from one status to another.
format: date-time
type: string
lastUpdatedTime:
description: Last time the condition was updated
format: date-time
type: string
message:
description: Human readable message indicating details about last transition.
type: string
reason:
description: (brief) reason for the condition's last transition.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of condition
type: string
required:
- status
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ''
plural: ''
conditions: []
storedVersions: []
1 change: 1 addition & 0 deletions kube-custom-resources-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ opensearchservice_services_k8s_aws_v1alpha1 = []
opentelemetry_io_v1alpha1 = []
operations_kubeedge_io_v1alpha1 = []
operator_aquasec_com_v1alpha1 = []
operator_authorino_kuadrant_io_v1beta1 = []
operator_cluster_x_k8s_io_v1alpha1 = []
operator_cluster_x_k8s_io_v1alpha2 = []
operator_cryostat_io_v1beta1 = []
Expand Down
9 changes: 9 additions & 0 deletions kube-custom-resources-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1969,6 +1969,13 @@ kinds:
- `AquaScanner`
- `AquaServer`

## operator_authorino_kuadrant_io_v1beta1

apiVersion: `operator.authorino.kuadrant.io/v1beta1`

kinds:
- `Authorino`

## operator_cluster_x_k8s_io_v1alpha1

apiVersion: `operator.cluster.x-k8s.io/v1alpha1`
Expand Down Expand Up @@ -3061,6 +3068,8 @@ pub mod opentelemetry_io_v1alpha1;
pub mod operations_kubeedge_io_v1alpha1;
#[cfg(feature = "operator_aquasec_com_v1alpha1")]
pub mod operator_aquasec_com_v1alpha1;
#[cfg(feature = "operator_authorino_kuadrant_io_v1beta1")]
pub mod operator_authorino_kuadrant_io_v1beta1;
#[cfg(feature = "operator_cluster_x_k8s_io_v1alpha1")]
pub mod operator_cluster_x_k8s_io_v1alpha1;
#[cfg(feature = "operator_cluster_x_k8s_io_v1alpha2")]
Expand Down
Loading