mvp working creation of proxy provider

This commit is contained in:
2026-05-15 11:09:20 +02:00
parent 93fd4e89d5
commit 90d21f1dd8
11 changed files with 166 additions and 58 deletions
-41
View File
@@ -1,41 +0,0 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: proxyproviders.proxyprovider.t000-n.de
spec:
group: proxyprovider.t000-n.de
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
name:
type: string
authorization_flow:
type: string
invalidation_flow:
type: string
external_host:
type: string
required:
- name
- authorization_flow
- invalidation_flow
- external_host
status:
type: object
properties:
pk:
type: string
required:
- pk
names:
kind: ProxyProvider
plural: proxyproviders
scope: Namespaced
-7
View File
@@ -1,7 +0,0 @@
apiVersion: samplecontroller.k8s.io/v1alpha1
kind: Foo
metadata:
name: example-foo
spec:
deploymentName: example-foo
replicas: 1
+11
View File
@@ -0,0 +1,11 @@
# Example ProxyProvider CRD
apiVersion: proxyprovider.t000-n.de/v1
kind: ProxyProvider
metadata:
name: proxy-provider-example
namespace: kube-system
spec:
name: proxy-provider-example
authorization_flow: 16896c6d-b326-42d1-8d3f-93f32921962e
invalidation_flow: 7acac1ef-19e3-4a6f-8d8d-14ca7031d184
external_host: https://example.t00n.de