Skip to content

Commit 050eb5a

Browse files
authored
Merge branch 'master' into enable-auth
2 parents be846ac + 6fcc74e commit 050eb5a

13 files changed

+18
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-man
2424
USER 1001
2525

2626
EXPOSE 8080
27-
EXPOSE 443
27+
EXPOSE 5443
2828

2929
# Apply labels as needed. ART build automation fills in others required for
3030
# shipping, including component NVR (name-version-release) and image name. OSBS

Documentation/install/local-values-shift.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ rbacApiVersion: authorization.openshift.io
22
namespace: local
33
watchedNamespaces: local
44
catalog_namespace: local
5+
debug: true
6+
57
alm:
68
replicaCount: 1
79
image:

Documentation/install/local-values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ rbacApiVersion: rbac.authorization.k8s.io
22
namespace: local
33
watchedNamespaces: local
44
catalog_namespace: local
5+
debug: true
56

67
olm:
78
replicaCount: 1
@@ -25,7 +26,7 @@ package:
2526
ref: quay.io/coreos/olm:local
2627
pullPolicy: IfNotPresent
2728
service:
28-
internalPort: 443
29+
internalPort: 5443
2930

3031
catalog_sources:
3132
- rh-operators

deploy/chart/templates/0000_30_10-olm-operator.deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
{{- if .Values.olm.commandArgs }}
3030
- {{ .Values.olm.commandArgs }}
3131
{{- end }}
32+
{{- if .Values.debug }}
33+
- -debug
34+
{{- end }}
3235
image: {{ .Values.olm.image.ref }}
3336
imagePullPolicy: {{ .Values.olm.image.pullPolicy }}
3437
ports:

deploy/chart/templates/0000_30_11-catalog-operator.deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ spec:
2828
{{- end }}
2929
- '-namespace'
3030
- {{ .Values.catalog_namespace }}
31+
{{- if .Values.debug }}
3132
- '-debug'
33+
{{- end }}
3234
{{- if .Values.catalog.commandArgs }}
3335
- {{ .Values.catalog.commandArgs }}
3436
{{- end }}

deploy/chart/templates/0000_30_13-packageserver.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ spec:
112112
- --secure-port={{ .Values.package.service.internalPort }}
113113
- --global-namespace
114114
- {{ .Values.namespace }}
115+
{{- if .Values.debug }}
115116
- --debug
117+
{{- end }}
116118
{{- if .Values.package.commandArgs }}
117119
- {{ .Values.package.commandArgs }}
118120
{{- end }}

deploy/chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ rbacApiVersion: rbac.authorization.k8s.io
22
namespace: operator-lifecycle-manager
33
catalog_namespace: operator-lifecycle-manager
44
imagestream: false
5+
debug: false
56
olm:
67
replicaCount: 1
78
image:

e2e.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-man
2020
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/catalog /bin/catalog
2121
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/package-server /bin/package-server
2222
EXPOSE 8080
23-
EXPOSE 443
23+
EXPOSE 5443
2424
CMD ["/bin/olm"]
2525

2626
FROM golang:1.10

pkg/controller/operators/olm/operator.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ func NewOperator(crClient versioned.Interface, opClient operatorclient.ClientInt
8686
op.RegisterQueueInformer(queueInformer)
8787
}
8888

89-
// annotate namespaces that ALM operator manages
90-
if err := namespaceAnnotator.AnnotateNamespaces(namespaces); err != nil {
91-
return nil, err
92-
}
93-
9489
// set up RBAC informers
9590
informerFactory := informers.NewSharedInformerFactory(opClient.KubernetesInterface(), wakeupInterval)
9691
roleInformer := informerFactory.Rbac().V1().Roles()

test/e2e/csv_e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ func TestCreateCSVWithOwnedAPIService(t *testing.T) {
816816
Version: "v1alpha1",
817817
Kind: "PackageManifest",
818818
DeploymentName: depName,
819-
ContainerPort: int32(443),
819+
ContainerPort: int32(5443),
820820
DisplayName: "Package Manifest",
821821
Description: "An apiservice that exists",
822822
},

0 commit comments

Comments
 (0)