You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crd.yaml
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,19 @@ spec:
6
6
group: vaultwebhook.uswitch.com
7
7
versions:
8
8
- name: v1alpha1
9
+
# Each version can be enabled/disabled by Served flag.
9
10
served: true
11
+
# One and only one version must be marked as the storage version.
10
12
storage: true
11
13
schema:
12
14
openAPIV3Schema:
15
+
type: object
16
+
description: |-
17
+
A MutatingAdmissionController that will add the vault-creds container to your pod
18
+
for you when your pod is created (assuming that vault webhook is enabled on your namespace
13
19
properties:
14
20
spec:
21
+
type: object
15
22
properties:
16
23
database:
17
24
type: string
@@ -20,7 +27,29 @@ spec:
20
27
outputPath:
21
28
type: string
22
29
outputFile:
30
+
type: string
31
+
serviceAccount:
23
32
type: string
33
+
container:
34
+
description: Specification of the container that will be created as part of this binding.
35
+
type: object
36
+
properties:
37
+
lifecycle:
38
+
description: Specification of the lifecycle hooks of the container. https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
39
+
type: object
40
+
properties:
41
+
preStop:
42
+
description: This hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others
43
+
type: object
44
+
properties:
45
+
exec:
46
+
description: Executes a specific command, inside the cgroups and namespaces of the Container.
0 commit comments