Skip to content

Commit d8df1b0

Browse files
committed
Publish module edp-keycloak-operator
Signed-off-by: mayrf <[email protected]>
1 parent 91051d4 commit d8df1b0

17 files changed

+6531
-0
lines changed

edp-keycloak-operator/README.md

+1,240
Large diffs are not rendered by default.

edp-keycloak-operator/crds/edp-keycloak-operator.yaml

+2,577
Large diffs are not rendered by default.

edp-keycloak-operator/kcl.mod

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[package]
2+
name = "edp-keycloak-operator"
3+
edition = "v0.10.0"
4+
version = "v1.23.0"
5+
6+
[dependencies]
7+
k8s = "1.31.2"

edp-keycloak-operator/kcl.mod.lock

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[dependencies]
2+
[dependencies.k8s]
3+
name = "k8s"
4+
full_name = "k8s_1.31.2"
5+
version = "1.31.2"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
"""
2+
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
3+
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
4+
"""
5+
import k8s.apimachinery.pkg.apis.meta.v1
6+
7+
8+
schema Keycloak:
9+
r"""
10+
Keycloak is the Schema for the keycloaks API.
11+
12+
Attributes
13+
----------
14+
apiVersion : str, default is "v1.edp.epam.com/v1", required
15+
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
16+
kind : str, default is "Keycloak", required
17+
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
18+
metadata : v1.ObjectMeta, default is Undefined, optional
19+
metadata
20+
spec : V1EdpEpamComV1KeycloakSpec, default is Undefined, optional
21+
spec
22+
status : V1EdpEpamComV1KeycloakStatus, default is Undefined, optional
23+
status
24+
"""
25+
26+
27+
apiVersion: "v1.edp.epam.com/v1" = "v1.edp.epam.com/v1"
28+
29+
kind: "Keycloak" = "Keycloak"
30+
31+
metadata?: v1.ObjectMeta
32+
33+
spec?: V1EdpEpamComV1KeycloakSpec
34+
35+
status?: V1EdpEpamComV1KeycloakStatus
36+
37+
38+
schema V1EdpEpamComV1KeycloakSpec:
39+
r"""
40+
KeycloakSpec defines the desired state of Keycloak.
41+
42+
Attributes
43+
----------
44+
adminType : str, default is Undefined, optional
45+
AdminType can be user or serviceAccount, if serviceAccount was specified, then client_credentials grant type should be used for getting admin realm token.
46+
caCert : V1EdpEpamComV1KeycloakSpecCaCert, default is Undefined, optional
47+
ca cert
48+
insecureSkipVerify : bool, default is Undefined, optional
49+
InsecureSkipVerify controls whether api client verifies the server's
50+
certificate chain and host name. If InsecureSkipVerify is true, api client
51+
accepts any certificate presented by the server and any host name in that
52+
certificate.
53+
secret : str, default is Undefined, required
54+
Secret is a secret name which contains admin credentials.
55+
url : str, default is Undefined, required
56+
URL of keycloak service.
57+
"""
58+
59+
60+
adminType?: "serviceAccount" | "user"
61+
62+
caCert?: V1EdpEpamComV1KeycloakSpecCaCert
63+
64+
insecureSkipVerify?: bool
65+
66+
secret: str
67+
68+
url: str
69+
70+
71+
schema V1EdpEpamComV1KeycloakSpecCaCert:
72+
r"""
73+
CACert defines the root certificate authority
74+
that api client use when verifying server certificates.
75+
76+
Attributes
77+
----------
78+
configMapKeyRef : V1EdpEpamComV1KeycloakSpecCaCertConfigMapKeyRef, default is Undefined, optional
79+
config map key ref
80+
secretKeyRef : V1EdpEpamComV1KeycloakSpecCaCertSecretKeyRef, default is Undefined, optional
81+
secret key ref
82+
"""
83+
84+
85+
configMapKeyRef?: V1EdpEpamComV1KeycloakSpecCaCertConfigMapKeyRef
86+
87+
secretKeyRef?: V1EdpEpamComV1KeycloakSpecCaCertSecretKeyRef
88+
89+
90+
schema V1EdpEpamComV1KeycloakSpecCaCertConfigMapKeyRef:
91+
r"""
92+
Selects a key of a ConfigMap.
93+
94+
Attributes
95+
----------
96+
key : str, default is Undefined, required
97+
The key to select.
98+
name : str, default is Undefined, optional
99+
Name of the referent.
100+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
101+
TODO: Add other useful fields. apiVersion, kind, uid?
102+
"""
103+
104+
105+
key: str
106+
107+
name?: str
108+
109+
110+
schema V1EdpEpamComV1KeycloakSpecCaCertSecretKeyRef:
111+
r"""
112+
Selects a key of a secret.
113+
114+
Attributes
115+
----------
116+
key : str, default is Undefined, required
117+
The key of the secret to select from.
118+
name : str, default is Undefined, optional
119+
Name of the referent.
120+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
121+
TODO: Add other useful fields. apiVersion, kind, uid?
122+
"""
123+
124+
125+
key: str
126+
127+
name?: str
128+
129+
130+
schema V1EdpEpamComV1KeycloakStatus:
131+
r"""
132+
KeycloakStatus defines the observed state of Keycloak.
133+
134+
Attributes
135+
----------
136+
connected : bool, default is Undefined, required
137+
Connected shows if keycloak service is up and running.
138+
"""
139+
140+
141+
connected: bool
142+
143+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
"""
2+
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
3+
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
4+
"""
5+
import k8s.apimachinery.pkg.apis.meta.v1
6+
7+
8+
schema KeycloakAuthFlow:
9+
r"""
10+
KeycloakAuthFlow is the Schema for the keycloak authentication flow API.
11+
12+
Attributes
13+
----------
14+
apiVersion : str, default is "v1.edp.epam.com/v1", required
15+
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
16+
kind : str, default is "KeycloakAuthFlow", required
17+
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
18+
metadata : v1.ObjectMeta, default is Undefined, optional
19+
metadata
20+
spec : V1EdpEpamComV1KeycloakAuthFlowSpec, default is Undefined, optional
21+
spec
22+
status : V1EdpEpamComV1KeycloakAuthFlowStatus, default is Undefined, optional
23+
status
24+
"""
25+
26+
27+
apiVersion: "v1.edp.epam.com/v1" = "v1.edp.epam.com/v1"
28+
29+
kind: "KeycloakAuthFlow" = "KeycloakAuthFlow"
30+
31+
metadata?: v1.ObjectMeta
32+
33+
spec?: V1EdpEpamComV1KeycloakAuthFlowSpec
34+
35+
status?: V1EdpEpamComV1KeycloakAuthFlowStatus
36+
37+
38+
schema V1EdpEpamComV1KeycloakAuthFlowSpec:
39+
r"""
40+
KeycloakAuthFlowSpec defines the desired state of KeycloakAuthFlow.
41+
42+
Attributes
43+
----------
44+
alias : str, default is Undefined, required
45+
Alias is display name for authentication flow.
46+
authenticationExecutions : [V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0], default is Undefined, optional
47+
AuthenticationExecutions is list of authentication executions for this auth flow.
48+
builtIn : bool, default is Undefined, required
49+
BuiltIn is true if this is built-in auth flow.
50+
childRequirement : str, default is Undefined, optional
51+
ChildRequirement is requirement for child execution. Available options: REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL.
52+
childType : str, default is Undefined, optional
53+
ChildType is type for auth flow if it has a parent, available options: basic-flow, form-flow
54+
description : str, default is Undefined, optional
55+
Description is description for authentication flow.
56+
parentName : str, default is Undefined, optional
57+
ParentName is name of parent auth flow.
58+
providerId : str, default is Undefined, required
59+
ProviderID for root auth flow and provider for child auth flows.
60+
realm : str, default is Undefined, optional
61+
Deprecated: use RealmRef instead.
62+
Realm is name of KeycloakRealm custom resource.
63+
realmRef : V1EdpEpamComV1KeycloakAuthFlowSpecRealmRef, default is Undefined, optional
64+
realm ref
65+
topLevel : bool, default is Undefined, required
66+
TopLevel is true if this is root auth flow.
67+
"""
68+
69+
70+
alias: str
71+
72+
authenticationExecutions?: [V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0]
73+
74+
builtIn: bool
75+
76+
childRequirement?: str
77+
78+
childType?: str
79+
80+
description?: str
81+
82+
parentName?: str
83+
84+
providerId: str
85+
86+
realm?: str
87+
88+
realmRef?: V1EdpEpamComV1KeycloakAuthFlowSpecRealmRef
89+
90+
topLevel: bool
91+
92+
93+
schema V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0:
94+
r"""
95+
AuthenticationExecution defines keycloak authentication execution.
96+
97+
Attributes
98+
----------
99+
alias : str, default is Undefined, optional
100+
Alias is display name for this execution.
101+
authenticator : str, default is Undefined, optional
102+
Authenticator is name of authenticator.
103+
authenticatorConfig : V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0AuthenticatorConfig, default is Undefined, optional
104+
authenticator config
105+
authenticatorFlow : bool, default is Undefined, optional
106+
AuthenticatorFlow is true if this is auth flow.
107+
priority : int, default is Undefined, optional
108+
Priority is priority for this execution. Lower values have higher priority.
109+
requirement : str, default is Undefined, optional
110+
Requirement is requirement for this execution. Available options: REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL.
111+
"""
112+
113+
114+
alias?: str
115+
116+
authenticator?: str
117+
118+
authenticatorConfig?: V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0AuthenticatorConfig
119+
120+
authenticatorFlow?: bool
121+
122+
priority?: int
123+
124+
requirement?: str
125+
126+
127+
schema V1EdpEpamComV1KeycloakAuthFlowSpecAuthenticationExecutionsItems0AuthenticatorConfig:
128+
r"""
129+
AuthenticatorConfig is configuration for authenticator.
130+
131+
Attributes
132+
----------
133+
alias : str, default is Undefined, optional
134+
Alias is display name for authenticator config.
135+
config : {str:str}, default is Undefined, optional
136+
Config is configuration for authenticator.
137+
"""
138+
139+
140+
alias?: str
141+
142+
config?: {str:str}
143+
144+
145+
schema V1EdpEpamComV1KeycloakAuthFlowSpecRealmRef:
146+
r"""
147+
RealmRef is reference to Realm custom resource.
148+
149+
Attributes
150+
----------
151+
kind : str, default is Undefined, optional
152+
Kind specifies the kind of the Keycloak resource.
153+
name : str, default is Undefined, optional
154+
Name specifies the name of the Keycloak resource.
155+
"""
156+
157+
158+
kind?: "KeycloakRealm" | "ClusterKeycloakRealm"
159+
160+
name?: str
161+
162+
163+
schema V1EdpEpamComV1KeycloakAuthFlowStatus:
164+
r"""
165+
KeycloakAuthFlowStatus defines the observed state of KeycloakAuthFlow.
166+
167+
Attributes
168+
----------
169+
failureCount : int, default is Undefined, optional
170+
failure count
171+
value : str, default is Undefined, optional
172+
value
173+
"""
174+
175+
176+
failureCount?: int
177+
178+
value?: str
179+
180+

0 commit comments

Comments
 (0)