Skip to content

Commit a60600f

Browse files
author
Xin Li
authored
Add rstricted bundle image (#28)
1 parent 612341a commit a60600f

17 files changed

+309
-74
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ bundle: generate manifests ## Generate bundle manifests
141141
-q --overwrite --version $(OPERATOR_VERSION) $(BUNDLE_METADATA_OPTS)
142142
$(OPERATOR_SDK) bundle validate ./bundle
143143

144+
# $(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle \
145+
# -q --overwrite --version $(OPERATOR_VERSION) $(BUNDLE_METADATA_OPTS) \
146+
# --output-dir bundle-restricted
147+
# $(OPERATOR_SDK) bundle validate ./bundle-restricted
148+
144149
##@ Test
145150

146151
test: ## Run unit test on prow
@@ -163,6 +168,7 @@ build-operator-image: ## Build the operator image.
163168
@docker build -t $(OPERATOR_IMAGE_NAME)-$(LOCAL_ARCH):$(VERSION) \
164169
--build-arg VCS_REF=$(VCS_REF) --build-arg VCS_URL=$(VCS_URL) \
165170
--build-arg GOARCH=$(LOCAL_ARCH) -f Dockerfile .
171+
166172
##@ Release
167173

168174
build-push-image: $(CONFIG_DOCKER_TARGET) $(CONFIG_DOCKER_TARGET_QUAY) build-operator-image ## Build and push the operator images.

api/v1/namespacescope_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ type NamespaceScopeStatus struct {
5151

5252
// +kubebuilder:object:root=true
5353
// +kubebuilder:subresource:status
54+
// +kubebuilder:resource:path=namespacescopes,shortName=nss,scope=Namespaced
5455

5556
// NamespaceScope is the Schema for the namespacescopes API
5657
type NamespaceScope struct {

bundle-restricted.Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM scratch
2+
3+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
4+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
5+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
6+
LABEL operators.operatorframework.io.bundle.package.v1=ibm-namespace-scope-operator-restricted
7+
LABEL operators.operatorframework.io.bundle.channels.v1=beta
8+
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.1.0
10+
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
11+
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2
12+
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
13+
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
14+
15+
COPY bundle-restricted/manifests /manifests/
16+
COPY bundle-restricted/metadata /metadata/
17+
COPY bundle-restricted/tests/scorecard /tests/scorecard/
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
annotations:
5+
alm-examples: |-
6+
[
7+
{
8+
"apiVersion": "operator.ibm.com/v1",
9+
"kind": "NamespaceScope",
10+
"metadata": {
11+
"name": "namespacescope"
12+
},
13+
"spec": {
14+
"namespaceMembers": [
15+
"ibm-common-services",
16+
"default"
17+
],
18+
"restartLabels": {
19+
"intent": "projected"
20+
}
21+
}
22+
}
23+
]
24+
capabilities: Seamless Upgrades
25+
containerImage: quay.io/opencloudio/ibm-namespace-scope-operator:latest
26+
createdAt: "2020-11-2T15:38:33Z"
27+
operators.operatorframework.io/builder: operator-sdk-v1.1.0
28+
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
29+
repository: https://github.com/IBM/ibm-namespace-scope-operator
30+
support: IBM
31+
name: ibm-namespace-scope-operator-restricted.v1.0.0
32+
namespace: placeholder
33+
spec:
34+
apiservicedefinitions: {}
35+
customresourcedefinitions:
36+
owned:
37+
- description: NamespaceScope is the Schema for the namespacescopes API
38+
displayName: Namespace Scope
39+
kind: NamespaceScope
40+
name: namespacescopes.operator.ibm.com
41+
version: v1
42+
description: This operator automates the extension of operator watch and service account permission scope to other namespaces in an openshift cluster.
43+
displayName: IBM NamespaceScope Operator Restricted
44+
icon:
45+
- base64data: iVBORw0KGgoAAAANSUhEUgAAAK8AAACvCAMAAAC8TH5HAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAB1UExURQAAAJGS77CC4pCS75yM64uV8pSQ7puA85OV87OB4auF5Hyd+H2c936b9n6b94Ca9n+b9n+b9n+b9qOJ56SI55yM6qSI536b96aH5q2D45mN64OZ9ZWQ7oyU8XWg+6uG5oqg/p6L6m+k/ZuY+3mr/6qQ9LqM80D8C0oAAAAbdFJOUwA67R4KKxMBBP6ak6vZgVtJxG5ot+hQ7YDVkwC2C58AAAuSSURBVHja7ZyJerK8EoCDCSTKjoiIS13of/+XeGYm4NLKrvj1OYxt7aa8TiazJZGxSSaZZJJJJvmcSCn/Eq7Cz79DLJk0rb+kXdM9nz0m/4p2mZufz3lAZvEn1HsGye2J9128h7/Gezj8Nd7D3+I9/xu8SjWHrS76bfN8A+NsYxjowCvbPN+QSGB6kWi6QHteyQLPfx+wYsH2eHSthgu05lXMy/PceRcwxtnjdnts4mjLq5hBceVdcVsya71FMeov0JIXMuQwR+DoXX5EMgf0uz2GrDYbb8mrmE+4Z/NdvDCApN+jX3uFdrySqfW70wzFbFLwWtVNkXa8ONlIvfx9Dk0xSyvYq0NpxasYJ9o8emcUVCw6EjGvuUpLXgfVm9cP1fAZp1yyCKeGBf8pB96g9jUZ57c6s1vIIAUfjXqY9eFg1yiuKJnOECzeW+TJm0+rxRGGWfcP7/dld8bZwqcp/dJqIs9hrJIJ/JD2abV5j1StfJn1/pofo/Kx0ae1KfAO7/Vld7anfVpf28M5kKPDc9kYLRW4RDhIwYV/PozVUAF39Qre3BmrvsM04nisjHHyJlUjZEOefuBj8UIA81zHfGJ84BYeHAP9LKseP1r5LNnvOlHeXJgqRZbUPzT97PHvBVb48VCX09W54du2u3ZJ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bg/Hr33TjffKn3gp/kkkmmWSSSSaZZJJJJplkkkkmmWSS/yf5H6HANgUotAMHAAAAAElFTkSuQmCC
46+
mediatype: image/png
47+
install:
48+
spec:
49+
deployments:
50+
- name: ibm-namespace-scope-operator
51+
spec:
52+
replicas: 1
53+
selector:
54+
matchLabels:
55+
name: ibm-namespace-scope-operator
56+
strategy: {}
57+
template:
58+
metadata:
59+
annotations:
60+
productID: 068a62892a1e4db39641342e592daa25
61+
productMetric: FREE
62+
productName: IBM Cloud Platform Common Services
63+
labels:
64+
app.kubernetes.io/instance: ibm-namespace-scope-operator
65+
app.kubernetes.io/managed-by: ibm-namespace-scope-operator
66+
app.kubernetes.io/name: ibm-namespace-scope-operator
67+
name: ibm-namespace-scope-operator
68+
spec:
69+
affinity:
70+
nodeAffinity:
71+
requiredDuringSchedulingIgnoredDuringExecution:
72+
nodeSelectorTerms:
73+
- matchExpressions:
74+
- key: beta.kubernetes.io/arch
75+
operator: In
76+
values:
77+
- amd64
78+
- ppc64le
79+
- s390x
80+
containers:
81+
- command:
82+
- /namespace-scope-operator-manager
83+
env:
84+
- name: OPERATOR_NAME
85+
value: ibm-namespace-scope-operator
86+
- name: OPERATOR_NAMESPACE
87+
valueFrom:
88+
fieldRef:
89+
apiVersion: v1
90+
fieldPath: metadata.namespace
91+
image: quay.io/opencloudio/ibm-namespace-scope-operator:latest
92+
imagePullPolicy: Always
93+
name: ibm-namespace-scope-operator
94+
resources:
95+
limits:
96+
cpu: 500m
97+
memory: 512Mi
98+
requests:
99+
cpu: 100m
100+
memory: 200Mi
101+
securityContext:
102+
allowPrivilegeEscalation: false
103+
capabilities:
104+
drop:
105+
- ALL
106+
privileged: false
107+
readOnlyRootFilesystem: true
108+
runAsNonRoot: true
109+
serviceAccountName: ibm-namespace-scope-operator
110+
terminationGracePeriodSeconds: 10
111+
permissions:
112+
- rules:
113+
- apiGroups:
114+
- '*'
115+
resources:
116+
- '*'
117+
verbs:
118+
- '*'
119+
serviceAccountName: ibm-namespace-scope-operator
120+
strategy: deployment
121+
installModes:
122+
- supported: true
123+
type: OwnNamespace
124+
- supported: true
125+
type: SingleNamespace
126+
- supported: false
127+
type: MultiNamespace
128+
- supported: false
129+
type: AllNamespaces
130+
keywords:
131+
- IBM
132+
- Cloud
133+
links:
134+
- name: IBM Namespace Scope Operator
135+
url: https://github.com/IBM/ibm-namespace-scope-operator
136+
maintainers:
137+
138+
name: IBM Support
139+
maturity: alpha
140+
provider:
141+
name: IBM
142+
version: 1.0.0
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.3.0
6+
creationTimestamp: null
7+
name: namespacescopes.operator.ibm.com
8+
spec:
9+
group: operator.ibm.com
10+
names:
11+
kind: NamespaceScope
12+
listKind: NamespaceScopeList
13+
plural: namespacescopes
14+
shortNames:
15+
- nss
16+
singular: namespacescope
17+
scope: Namespaced
18+
subresources:
19+
status: {}
20+
validation:
21+
openAPIV3Schema:
22+
description: NamespaceScope is the Schema for the namespacescopes API
23+
properties:
24+
apiVersion:
25+
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/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
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/sig-architecture/api-conventions.md#types-kinds'
29+
type: string
30+
metadata:
31+
type: object
32+
spec:
33+
description: NamespaceScopeSpec defines the desired state of NamespaceScope
34+
properties:
35+
configmapName:
36+
description: ConfigMap name that will contain the list of namespaces to be watched
37+
type: string
38+
manualManagement:
39+
description: Set the following to true to manaually manage permissions for the NamespaceScope operator to extend control over other namespaces The operator may fail when trying to extend permissions to other namespaces, but the cluster administrator can correct this using the authorize-namespace command.
40+
type: boolean
41+
namespaceMembers:
42+
description: Namespaces that are part of this scope
43+
items:
44+
type: string
45+
type: array
46+
restartLabels:
47+
additionalProperties:
48+
type: string
49+
description: Restart pods with the following labels when the namspace list changes
50+
type: object
51+
type: object
52+
status:
53+
description: NamespaceScopeStatus defines the observed state of NamespaceScope
54+
type: object
55+
type: object
56+
version: v1
57+
versions:
58+
- name: v1
59+
served: true
60+
storage: true
61+
status:
62+
acceptedNames:
63+
kind: ""
64+
plural: ""
65+
conditions: []
66+
storedVersions: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
annotations:
2+
operators.operatorframework.io.bundle.channel.default.v1: beta
3+
operators.operatorframework.io.bundle.channels.v1: beta
4+
operators.operatorframework.io.bundle.manifests.v1: manifests/
5+
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
6+
operators.operatorframework.io.bundle.metadata.v1: metadata/
7+
operators.operatorframework.io.bundle.package.v1: ibm-namespace-scope-operator-restricted
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.1.0
9+
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
10+
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v2
11+
operators.operatorframework.io.test.config.v1: tests/scorecard/
12+
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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:v1.1.0
12+
labels:
13+
suite: basic
14+
test: basic-check-spec-test
15+
- entrypoint:
16+
- scorecard-test
17+
- olm-bundle-validation
18+
image: quay.io/operator-framework/scorecard-test:v1.1.0
19+
labels:
20+
suite: olm
21+
test: olm-bundle-validation-test
22+
- entrypoint:
23+
- scorecard-test
24+
- olm-crds-have-validation
25+
image: quay.io/operator-framework/scorecard-test:v1.1.0
26+
labels:
27+
suite: olm
28+
test: olm-crds-have-validation-test
29+
- entrypoint:
30+
- scorecard-test
31+
- olm-crds-have-resources
32+
image: quay.io/operator-framework/scorecard-test:v1.1.0
33+
labels:
34+
suite: olm
35+
test: olm-crds-have-resources-test
36+
- entrypoint:
37+
- scorecard-test
38+
- olm-spec-descriptors
39+
image: quay.io/operator-framework/scorecard-test:v1.1.0
40+
labels:
41+
suite: olm
42+
test: olm-spec-descriptors-test
43+
- entrypoint:
44+
- scorecard-test
45+
- olm-status-descriptors
46+
image: quay.io/operator-framework/scorecard-test:v1.1.0
47+
labels:
48+
suite: olm
49+
test: olm-status-descriptors-test

bundle/manifests/ibm-namespace-scope-operator.clusterserviceversion.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ spec:
4646
mediatype: image/png
4747
install:
4848
spec:
49+
clusterPermissions:
50+
- rules:
51+
- apiGroups:
52+
- '*'
53+
resources:
54+
- '*'
55+
verbs:
56+
- '*'
57+
serviceAccountName: ibm-namespace-scope-operator
4958
deployments:
5059
- name: ibm-namespace-scope-operator
5160
spec:
@@ -88,7 +97,7 @@ spec:
8897
fieldRef:
8998
apiVersion: v1
9099
fieldPath: metadata.namespace
91-
image: ibm-namespace-scope-operator:1.0.0
100+
image: quay.io/opencloudio/ibm-namespace-scope-operator:latest
92101
imagePullPolicy: Always
93102
name: ibm-namespace-scope-operator
94103
resources:
@@ -108,15 +117,6 @@ spec:
108117
runAsNonRoot: true
109118
serviceAccountName: ibm-namespace-scope-operator
110119
terminationGracePeriodSeconds: 10
111-
permissions:
112-
- rules:
113-
- apiGroups:
114-
- '*'
115-
resources:
116-
- '*'
117-
verbs:
118-
- '*'
119-
serviceAccountName: ibm-namespace-scope-operator
120120
strategy: deployment
121121
installModes:
122122
- supported: false

bundle/manifests/operator.ibm.com_namespacescopes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ spec:
1111
kind: NamespaceScope
1212
listKind: NamespaceScopeList
1313
plural: namespacescopes
14-
singular: namespacescope
1514
shortNames:
1615
- nss
16+
singular: namespacescope
1717
scope: Namespaced
1818
subresources:
1919
status: {}

config/crd/bases/operator.ibm.com_namespacescopes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ spec:
1313
kind: NamespaceScope
1414
listKind: NamespaceScopeList
1515
plural: namespacescopes
16-
singular: namespacescope
1716
shortNames:
1817
- nss
18+
singular: namespacescope
1919
scope: Namespaced
2020
subresources:
2121
status: {}

0 commit comments

Comments
 (0)