forked from pusher/faros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faros_v1alpha1_gittrack.yaml
159 lines (159 loc) · 5.53 KB
/
faros_v1alpha1_gittrack.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: gittracks.faros.pusher.com
spec:
additionalPrinterColumns:
- JSONPath: .spec.repository
name: Repository
priority: 1
type: string
- JSONPath: .spec.reference
name: Reference
type: string
- JSONPath: .status.objectsApplied
name: Children Created
type: integer
- JSONPath: .status.objectsDiscovered
name: Resources Discovered
type: integer
- JSONPath: .status.objectsIgnored
name: Resources Ignored
type: integer
- JSONPath: .status.objectsInSync
name: Children In Sync
type: integer
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: faros.pusher.com
names:
kind: GitTrack
plural: gittracks
scope: Namespaced
validation:
openAPIV3Schema:
properties:
apiVersion:
description: '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/api-conventions.md#resources'
type: string
kind:
description: '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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
deployKey:
description: DeployKey holds a reference to an SSH key needed to access
the repository
properties:
key:
description: Key is the key within the Secret object that contains
the deploy secret
type: string
secretName:
description: SecretName is the name of the Secret object containins
the key
type: string
type:
description: Type is the type of credential. Accepted values are
"SSH", "HTTPBasicAuth". Defaults to "SSH".
enum:
- SSH
- HTTPBasicAuth
type: string
required:
- secretName
- key
type: object
reference:
description: Reference contains the git reference this GitTrack tracks
type: string
repository:
description: Repository is the git repository URI to clone from
type: string
subPath:
description: SubPath is the subpath within the repository underneath
which files are considered
pattern: ^[a-zA-Z0-9/\-.]*$
type: string
required:
- reference
- repository
type: object
status:
properties:
conditions:
description: Conditions are the conditions on this GitTrack
items:
properties:
lastTransitionTime:
description: LastTransitionTime of this condition
format: date-time
type: string
lastUpdateTime:
description: LastUpdateTime of this condition
format: date-time
type: string
message:
description: Message associated with this condition
type: string
reason:
description: Reason for the current status of this condition
type: string
status:
description: Status of this condition
type: string
type:
description: Type of this condition
type: string
required:
- type
- status
type: object
type: array
ignoredFiles:
description: IgnoredFiles is the list of YAML files containing invalid
k8s manifests.
type: object
objectsApplied:
description: ObjectsApplied is the number of k8s objects for which a
GitTrackObjects was created
format: int64
type: integer
objectsDiscovered:
description: ObjectsDiscovered is the number of k8s objects found in
the repository path
format: int64
type: integer
objectsIgnored:
description: ObjectsIgnored is the number of k8s objects found in the
repository path for which no GitTrackObject was created
format: int64
type: integer
objectsInSync:
description: ObjectsInSync is the number of GitTrackObjects that were
successfully applied to the cluster
format: int64
type: integer
required:
- objectsDiscovered
- objectsApplied
- objectsIgnored
- objectsInSync
type: object
version: v1alpha1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []