This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump servleress-operator to v1.5.0 and remove istio (#412)
This patch contains following changes: - to remove istio related resources - to bump servleress-operator to v1.5.0
- Loading branch information
Showing
7 changed files
with
2,679 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/openshift/olm/knative-serving.catalogsource.yaml b/openshift/olm/knative-serving.catalogsource.yaml | ||
index 5af9e00a2..a9da99ee1 100644 | ||
--- a/openshift/olm/knative-serving.catalogsource.yaml | ||
+++ b/openshift/olm/knative-serving.catalogsource.yaml | ||
@@ -2771,12 +2771,24 @@ data: | ||
fieldPath: metadata.namespace | ||
- name: METRICS_DOMAIN | ||
value: knative.dev/serving-operator | ||
+ - name: KO_DATA_PATH | ||
+ value: /tmp/ | ||
image: registry.svc.ci.openshift.org/openshift/knative-v0.12.1:knative-serving-operator | ||
imagePullPolicy: IfNotPresent | ||
name: knative-serving-operator | ||
ports: | ||
- containerPort: 9090 | ||
name: metrics | ||
+ volumeMounts: | ||
+ - mountPath: /tmp/knative-serving | ||
+ name: release-manifest | ||
+ volumes: | ||
+ - name: release-manifest | ||
+ configMap: | ||
+ name: ko-data | ||
+ items: | ||
+ - key: knative-serving-ci.yaml | ||
+ path: knative-serving-ci.yaml | ||
serviceAccountName: knative-serving-operator | ||
- name: knative-serving-openshift | ||
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
# NOTE: | ||
# The initial knative-serving.catalogsource.yaml is generaed by catalog.sh in serverless-operator. | ||
# So you need to run following command before running this script. | ||
# | ||
# git clone https://github.com/openshift-knative/serverless-operator.git | ||
# cd serverless-operator && bash hack/catalog.sh > $OUTFILE | ||
|
||
set -e | ||
|
||
VERSION="v0.12.1" | ||
OUTFILE="knative-serving.catalogsource.yaml" | ||
|
||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-queue|$\{IMAGE_QUEUE\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-activator|$\{IMAGE_activator\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-autoscaler|$\{IMAGE_autoscaler\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-autoscaler-hpa|$\{IMAGE_autoscaler_hpa\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-controller|$\{IMAGE_controller\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:knative-serving-webhook|$\{IMAGE_webhook\}|g" $OUTFILE | ||
sed -i -e "s|registry.svc.ci.openshift.org/openshift/knative-$VERSION:kourier|$\{IMAGE_kourier\}|g" $OUTFILE | ||
|
||
git apply config_map.patch |
Oops, something went wrong.