Skip to content

Commit

Permalink
RedHat Operator 1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox committed Jun 22, 2020
1 parent 04a0451 commit 9a92ac5
Show file tree
Hide file tree
Showing 10 changed files with 11,435 additions and 15 deletions.
13 changes: 7 additions & 6 deletions operator/seldon-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ generate-resources:
deploy/operator.yaml: generated
python hack/create_resources.py --input generated --output deploy --version ${VERSION}

# DO NOT RUN - used during development and can be used for next version
deploy/olm-catalog/seldon-operator/1.0.2/seldon-operator.v1.0.2.clusterserviceversion.yaml:
operator-sdk generate csv --csv-version 1.0.2 --from-version 0.1.5

# DO NOT RUN - used during development and can be used for next version
.PHONY: clean_csv_${VERSION}
clean_csv_${VERSION}:
rm -f deploy/olm-catalog/seldon-operator/${VERSION}/seldon-operator.v${VERSION}.clusterserviceversion.yaml
Expand All @@ -26,7 +21,7 @@ clean_csv: clean_csv_${VERSION}

# DO NOT RUN - used during development and can be used for next version
deploy/olm-catalog/seldon-operator/${VERSION}/seldon-operator.v${VERSION}.clusterserviceversion.yaml:
operator-sdk generate csv --csv-version ${VERSION} --from-version ${PREV_VERSION} --update-crds
operator-sdk generate csv --make-manifests=false --csv-version ${VERSION} --from-version ${PREV_VERSION} --update-crds

update_csv: clean_csv_${VERSION} deploy/olm-catalog/seldon-operator/${VERSION}/seldon-operator.v${VERSION}.clusterserviceversion.yaml
sed -i s/${PREV_VERSION}/${VERSION}/ deploy/olm-catalog/seldon-operator/seldon-operator.package.yaml
Expand All @@ -38,6 +33,11 @@ update_csv: clean_csv_${VERSION} deploy/olm-catalog/seldon-operator/${VERSION}/s
scorecard:
operator-sdk scorecard -o text --bundle deploy/olm-catalog/seldon-operator --kubeconfig ~/.kube/config

#
# REQUIRED operator-courier 2.1.7
# master version of code is broken as of June 2020
#

operator-courier_ui_validate:
operator-courier verify --ui_validate_io deploy/olm-catalog/seldon-operator

Expand All @@ -52,6 +52,7 @@ community-quay-push:
#

# Set COMMUNITY_OPERATORS_BASE env
# Note you need to sign commits using git commit -s

.PHONY: update_community
update_community:
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels:
- currentCSV: seldon-operator.v1.1.0
- currentCSV: seldon-operator.v1.2.0
name: alpha
defaultChannel: alpha
packageName: seldon-operator-certified
1 change: 1 addition & 0 deletions operator/seldon-operator/deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ rules:
resources:
- customresourcedefinitions
verbs:
- create
- get
- list
- apiGroups:
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels:
- currentCSV: seldon-operator.v1.1.0
- currentCSV: seldon-operator.v1.2.0
name: alpha
defaultChannel: alpha
packageName: seldon-operator
16 changes: 9 additions & 7 deletions operator/seldon-operator/deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- args:
- --enable-leader-election
- --webhook-port=8443
- --create-resources=$(CREATE_RESOURCES)
- --create-resources=$(MANAGER_CREATE_RESOURCES)
command:
- /manager
env:
Expand Down Expand Up @@ -65,7 +65,7 @@ spec:
value: ''
- name: RELATED_IMAGE_EXPLAINER
value: ''
- name: CREATE_RESOURCES
- name: MANAGER_CREATE_RESOURCES
value: 'true'
- name: POD_NAMESPACE
valueFrom:
Expand All @@ -78,7 +78,7 @@ spec:
- name: AMBASSADOR_SINGLE_NAMESPACE
value: 'false'
- name: ENGINE_CONTAINER_IMAGE_AND_VERSION
value: docker.io/seldonio/engine:1.1.1-rc
value: docker.io/seldonio/engine:1.2.0
- name: ENGINE_CONTAINER_IMAGE_PULL_POLICY
value: IfNotPresent
- name: ENGINE_CONTAINER_SERVICE_ACCOUNT_NAME
Expand All @@ -91,6 +91,8 @@ spec:
value: '9000'
- name: PREDICTIVE_UNIT_DEFAULT_ENV_SECRET_REF_NAME
value: ''
- name: PREDICTIVE_UNIT_METRICS_PORT_NAME
value: metrics
- name: ENGINE_SERVER_GRPC_PORT
value: '5001'
- name: ENGINE_SERVER_PORT
Expand All @@ -106,24 +108,24 @@ spec:
- name: USE_EXECUTOR
value: 'true'
- name: EXECUTOR_CONTAINER_IMAGE_AND_VERSION
value: seldonio/seldon-core-executor:1.1.1-rc
value: seldonio/seldon-core-executor:1.2.0
- name: EXECUTOR_CONTAINER_IMAGE_PULL_POLICY
value: IfNotPresent
- name: EXECUTOR_PROMETHEUS_PATH
value: /prometheus
- name: EXECUTOR_SERVER_GRPC_PORT
value: '5001'
- name: EXECUTOR_SERVER_PORT
value: '8000'
- name: EXECUTOR_CONTAINER_USER
value: ''
- name: EXECUTOR_CONTAINER_SERVICE_ACCOUNT_NAME
value: default
- name: EXECUTOR_SERVER_METRICS_PORT_NAME
value: metrics
- name: EXECUTOR_REQUEST_LOGGER_DEFAULT_ENDPOINT
value: http://default-broker
- name: DEFAULT_USER_ID
value: ''
image: seldonio/seldon-core-operator:1.1.1-rc
image: seldonio/seldon-core-operator:1.2.0
name: manager
ports:
- containerPort: 8443
Expand Down
1 change: 1 addition & 0 deletions operator/seldon-operator/deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ rules:
resources:
- customresourcedefinitions
verbs:
- create
- get
- list
- apiGroups:
Expand Down

0 comments on commit 9a92ac5

Please sign in to comment.