-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwardensecrets.tomjo.net.yaml
82 lines (82 loc) · 2.82 KB
/
wardensecrets.tomjo.net.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: wardensecrets.tomjo.net
namespace: default # For easier deployment and avoid permissions collisions on most clusters, the resource is namespace-scoped. More information at: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/
spec:
group: tomjo.net
# Conversion webhook configuration commented out since it will lead to issues if not available.
# Currently, there is only one api version publicly released (v2) so this is not needed.
# When required you could patch the CRD using kustomize for example.
# conversion:
# strategy: Webhook
# webhook:
# conversionReviewVersions:
# - v1
# clientConfig:
# service:
# namespace: warden-secret-operator
# name: warden-secret-operator-webhook
# path: /crdconvert
names:
kind: WardenSecret
plural: wardensecrets
singular: wardensecret
shortNames:
- wardensecret
- bw
scope: Namespaced
versions:
- name: v2
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
type:
type: string
item:
type: string
required: ["item"]
status:
properties:
observedGeneration:
type: integer
format: int64
startTime:
type: string
format: date-time
conditions:
items:
properties:
lastTransitionTime:
description: Last time the condition transit from one status
to another.
format: date-time
type: string
message:
description: Human-readable message indicating details about
last transition.
type: string
reason:
description: Human-readable message indicating details about
any error that occurred.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of job condition, Completed.
type: string
required:
- status
- type
type: object
type: array
type: object