minimum runnable

This commit is contained in:
2026-05-14 18:55:57 +02:00
parent 0d160b5f08
commit 93fd4e89d5
52 changed files with 948 additions and 1744 deletions
+21 -17
View File
@@ -1,37 +1,41 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: foos.samplecontroller.k8s.io
# for more information on the below annotation, please see
# https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2337-k8s.io-group-protection/README.md
annotations:
"api-approved.kubernetes.io": "unapproved, experimental-only; please get an approval from Kubernetes API reviewers if you're trying to develop a CRD in the *.k8s.io or *.kubernetes.io groups"
name: proxyproviders.proxyprovider.t000-n.de
spec:
group: samplecontroller.k8s.io
group: proxyprovider.t000-n.de
versions:
- name: v1alpha1
- name: v1
served: true
storage: true
schema:
# schema used for validation
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
deploymentName:
name:
type: string
replicas:
type: integer
minimum: 1
maximum: 10
authorization_flow:
type: string
invalidation_flow:
type: string
external_host:
type: string
required:
- name
- authorization_flow
- invalidation_flow
- external_host
status:
type: object
properties:
availableReplicas:
type: integer
pk:
type: string
required:
- pk
names:
kind: Foo
plural: foos
kind: ProxyProvider
plural: proxyproviders
scope: Namespaced