Skip to content

Commit e2f2a25

Browse files
operator gitlab-operator-kubernetes (2.3.2)
1 parent 9e3e7ca commit e2f2a25

10 files changed

+976
-0
lines changed
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlabs.apps.gitlab.com
6+
spec:
7+
group: apps.gitlab.com
8+
names:
9+
kind: GitLab
10+
listKind: GitLabList
11+
plural: gitlabs
12+
shortNames:
13+
- gl
14+
singular: gitlab
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .status.phase
19+
name: STATUS
20+
type: string
21+
- jsonPath: .status.version
22+
name: VERSION
23+
type: string
24+
name: v1beta1
25+
schema:
26+
openAPIV3Schema:
27+
description: GitLab is a complete DevOps platform, delivered in a single application.
28+
properties:
29+
apiVersion:
30+
description: 'APIVersion defines the versioned schema of this representation
31+
of an object. Servers should convert recognized schemas to the latest
32+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33+
type: string
34+
kind:
35+
description: 'Kind is a string value representing the REST resource this
36+
object represents. Servers may infer this from the endpoint the client
37+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
38+
type: string
39+
metadata:
40+
type: object
41+
spec:
42+
description: Specification of the desired behavior of a GitLab instance.
43+
properties:
44+
chart:
45+
description: The specification of GitLab Chart that is used to deploy
46+
the instance.
47+
properties:
48+
values:
49+
description: ChartValues is the set of Helm values that is used
50+
to render the GitLab Chart.
51+
type: object
52+
x-kubernetes-preserve-unknown-fields: true
53+
version:
54+
description: ChartVersion is the semantic version of the GitLab
55+
Chart.
56+
pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
57+
type: string
58+
type: object
59+
type: object
60+
status:
61+
description: Most recently observed status of the GitLab instance. It
62+
is read-only to the user.
63+
properties:
64+
conditions:
65+
items:
66+
description: "Condition contains details for one aspect of the current
67+
state of this API Resource. --- This struct is intended for direct
68+
use as an array at the field path .status.conditions. For example,
69+
type FooStatus struct{ // Represents the observations of a
70+
foo's current state. // Known .status.conditions.type are:
71+
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
72+
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
73+
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
74+
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
75+
\n // other fields }"
76+
properties:
77+
lastTransitionTime:
78+
description: lastTransitionTime is the last time the condition
79+
transitioned from one status to another. This should be when
80+
the underlying condition changed. If that is not known, then
81+
using the time when the API field changed is acceptable.
82+
format: date-time
83+
type: string
84+
message:
85+
description: message is a human readable message indicating
86+
details about the transition. This may be an empty string.
87+
maxLength: 32768
88+
type: string
89+
observedGeneration:
90+
description: observedGeneration represents the .metadata.generation
91+
that the condition was set based upon. For instance, if .metadata.generation
92+
is currently 12, but the .status.conditions[x].observedGeneration
93+
is 9, the condition is out of date with respect to the current
94+
state of the instance.
95+
format: int64
96+
minimum: 0
97+
type: integer
98+
reason:
99+
description: reason contains a programmatic identifier indicating
100+
the reason for the condition's last transition. Producers
101+
of specific condition types may define expected values and
102+
meanings for this field, and whether the values are considered
103+
a guaranteed API. The value should be a CamelCase string.
104+
This field may not be empty.
105+
maxLength: 1024
106+
minLength: 1
107+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
108+
type: string
109+
status:
110+
description: status of the condition, one of True, False, Unknown.
111+
enum:
112+
- "True"
113+
- "False"
114+
- Unknown
115+
type: string
116+
type:
117+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
118+
--- Many .condition.type values are consistent across resources
119+
like Available, but because arbitrary conditions can be useful
120+
(see .node.status.conditions), the ability to deconflict is
121+
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
122+
maxLength: 316
123+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
124+
type: string
125+
required:
126+
- lastTransitionTime
127+
- message
128+
- reason
129+
- status
130+
- type
131+
type: object
132+
type: array
133+
phase:
134+
type: string
135+
version:
136+
type: string
137+
required:
138+
- conditions
139+
type: object
140+
type: object
141+
served: true
142+
storage: true
143+
subresources:
144+
status: {}
145+
status:
146+
acceptedNames:
147+
kind: ""
148+
plural: ""
149+
conditions: []
150+
storedVersions: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
control-plane: controller-manager
7+
name: gitlab-controller-manager-metrics-service
8+
spec:
9+
ports:
10+
- name: https
11+
port: 8443
12+
targetPort: metrics
13+
selector:
14+
control-plane: controller-manager
15+
status:
16+
loadBalancer: {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlab-metrics-reader
6+
rules:
7+
- nonResourceURLs:
8+
- /metrics
9+
verbs:
10+
- get

operators/gitlab-operator-kubernetes/2.3.2/manifests/gitlab-operator-kubernetes.clusterserviceversion.yaml

Lines changed: 648 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlab-prometheus-server
6+
rules:
7+
- apiGroups:
8+
- ""
9+
resources:
10+
- nodes
11+
- nodes/proxy
12+
- nodes/metrics
13+
- services
14+
- endpoints
15+
- pods
16+
- ingresses
17+
- configmaps
18+
verbs:
19+
- get
20+
- list
21+
- watch
22+
- apiGroups:
23+
- extensions
24+
- networking.k8s.io
25+
resources:
26+
- ingresses/status
27+
- ingresses
28+
verbs:
29+
- get
30+
- list
31+
- watch
32+
- nonResourceURLs:
33+
- /metrics
34+
verbs:
35+
- get
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlab-prometheus-server
6+
roleRef:
7+
apiGroup: rbac.authorization.k8s.io
8+
kind: ClusterRole
9+
name: gitlab-prometheus-server
10+
subjects:
11+
- kind: ServiceAccount
12+
name: gitlab-prometheus-server
13+
namespace: gitlab-system
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlab-prometheus-server
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
name: gitlab-webhook-service
6+
spec:
7+
ports:
8+
- port: 443
9+
protocol: TCP
10+
targetPort: 9443
11+
selector:
12+
control-plane: controller-manager
13+
status:
14+
loadBalancer: {}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
annotations:
2+
# Core bundle annotations.
3+
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
4+
operators.operatorframework.io.bundle.manifests.v1: manifests/
5+
operators.operatorframework.io.bundle.metadata.v1: metadata/
6+
operators.operatorframework.io.bundle.package.v1: gitlab-operator-kubernetes
7+
operators.operatorframework.io.bundle.channels.v1: stable,unstable
8+
operators.operatorframework.io.bundle.channel.default.v1: stable
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.2
10+
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
11+
operators.operatorframework.io.metrics.project_layout: unknown
12+
13+
# Annotations for testing.
14+
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
15+
operators.operatorframework.io.test.config.v1: tests/scorecard/
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
apiVersion: scorecard.operatorframework.io/v1alpha3
2+
kind: Configuration
3+
metadata:
4+
name: config
5+
stages:
6+
- parallel: true
7+
tests:
8+
- entrypoint:
9+
- scorecard-test
10+
- basic-check-spec
11+
image: quay.io/operator-framework/scorecard-test:master
12+
labels:
13+
suite: basic
14+
test: basic-check-spec-test
15+
storage:
16+
spec:
17+
mountPath: {}
18+
- entrypoint:
19+
- scorecard-test
20+
- olm-bundle-validation
21+
image: quay.io/operator-framework/scorecard-test:master
22+
labels:
23+
suite: olm
24+
test: olm-bundle-validation-test
25+
storage:
26+
spec:
27+
mountPath: {}
28+
- entrypoint:
29+
- scorecard-test
30+
- olm-crds-have-validation
31+
image: quay.io/operator-framework/scorecard-test:master
32+
labels:
33+
suite: olm
34+
test: olm-crds-have-validation-test
35+
storage:
36+
spec:
37+
mountPath: {}
38+
- entrypoint:
39+
- scorecard-test
40+
- olm-crds-have-resources
41+
image: quay.io/operator-framework/scorecard-test:master
42+
labels:
43+
suite: olm
44+
test: olm-crds-have-resources-test
45+
storage:
46+
spec:
47+
mountPath: {}
48+
- entrypoint:
49+
- scorecard-test
50+
- olm-spec-descriptors
51+
image: quay.io/operator-framework/scorecard-test:master
52+
labels:
53+
suite: olm
54+
test: olm-spec-descriptors-test
55+
storage:
56+
spec:
57+
mountPath: {}
58+
- entrypoint:
59+
- scorecard-test
60+
- olm-status-descriptors
61+
image: quay.io/operator-framework/scorecard-test:master
62+
labels:
63+
suite: olm
64+
test: olm-status-descriptors-test
65+
storage:
66+
spec:
67+
mountPath: {}
68+
storage:
69+
spec:
70+
mountPath: {}

0 commit comments

Comments
 (0)