File tree Expand file tree Collapse file tree 9 files changed +28
-28
lines changed
Expand file tree Collapse file tree 9 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 66 * Make any config customizations by editing ` example-values.yaml `
77 * Deploy a namespaced copy of OLM
88``` sh
9- ./scripts/package-release .sh 1.0.0-custom custom-olm ./Documentation/install/example-values.yaml
9+ ./scripts/package_release .sh 1.0.0-custom custom-olm ./Documentation/install/example-values.yaml
1010kubectl create ns olm-testing
1111kubectl get secrets -n tectonic-system -o yaml coreos-pull-secret | sed ' s/tectonic-system/olm-testing/g' | kubectl create -f -
1212kubectl apply -f ./custom-olm
@@ -58,7 +58,7 @@ kubectl apply -f ./custom-olm
5858* either apply the new configmap on it's own and restart catalog or, easier, just run:
5959
6060``` sh
61- ./scripts/package-release .sh 1.0.0-custom custom-olm ./Documentation/install/example-values.yaml
61+ ./scripts/package_release .sh 1.0.0-custom custom-olm ./Documentation/install/example-values.yaml
6262kubectl apply -f ./custom-olm
6363```
6464
Original file line number Diff line number Diff line change 5555 replicaCount : 1
5656 # The image to run. If not building a local image, use sha256 image references
5757 image :
58- ref : quay.io/coreos /olm:local
58+ ref : quay.io/operator-framework /olm:local
5959 pullPolicy : IfNotPresent
6060 service :
6161 # port for readiness/liveness probes
@@ -67,7 +67,7 @@ catalog:
6767 replicaCount : 1
6868 # The image to run. If not building a local image, use sha256 image references
6969 image :
70- ref : quay.io/coreos/catalog :local
70+ ref : quay.io/operator-framework/olm :local
7171 pullPolicy : IfNotPresent
7272 service :
7373 # port for readiness/liveness probes
@@ -77,13 +77,13 @@ catalog:
7777To configure a release of OLM for installation in a cluster:
7878
79791. Create a ` my-values.yaml` like the example above with the desired configuration or choose an existing one from this repository. The latest production values can be found in [deploy/tectonic-alm-operator/values.yaml](../../deploy/tectonic-alm-operator/values.yaml).
80- 1. Generate deployment files from the templates and the `my-values.yaml` using `package-release .sh`
80+ 1. Generate deployment files from the templates and the `my-values.yaml` using `package_release .sh`
8181
8282 ` ` ` bash
8383 # first arg must be a semver-compatible version string
8484 # second arg is the output directory
8585 # third arg is the values.yaml file
86- ./scripts/package-release .sh 1.0.0-myolm ./my-olm-deployment my-values.yaml
86+ ./scripts/package_release .sh 1.0.0-myolm ./my-olm-deployment my-values.yaml
8787 ` ` `
8888
89891. Deploy to kubernetes : ` kubectl apply -f ./my-olm-deployment/templates/`
Original file line number Diff line number Diff line change @@ -8,26 +8,26 @@ debug: true
88olm :
99 replicaCount : 1
1010 image :
11- ref : quay.io/coreos /olm:local
11+ ref : quay.io/operator-framework /olm:local
1212 pullPolicy : IfNotPresent
1313 service :
1414 internalPort : 8080
1515
1616catalog :
1717 replicaCount : 1
1818 image :
19- ref : quay.io/coreos /olm:local
19+ ref : quay.io/operator-framework /olm:local
2020 pullPolicy : IfNotPresent
2121 service :
2222 internalPort : 8080
2323
2424package :
2525 replicaCount : 1
2626 image :
27- ref : quay.io/coreos /olm:local
27+ ref : quay.io/operator-framework /olm:local
2828 pullPolicy : IfNotPresent
2929 service :
3030 internalPort : 5443
3131
3232catalog_sources :
33- - rh-operators
33+ - rh-operators
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ debug: false
99olm :
1010 replicaCount : 1
1111 image :
12- ref : quay.io/coreos /olm:master
12+ ref : quay.io/operator-framework /olm:master
1313 pullPolicy : Always
1414 service :
1515 internalPort : 8080
@@ -20,7 +20,7 @@ catalog:
2020 replicaCount : 1
2121 commandArgs : -configmapServerImage=quay.io/operatorframework/configmap-operator-registry:latest
2222 image :
23- ref : quay.io/coreos /olm:master
23+ ref : quay.io/operator-framework /olm:master
2424 pullPolicy : Always
2525 service :
2626 internalPort : 8080
@@ -30,7 +30,7 @@ catalog:
3030package :
3131 replicaCount : 2
3232 image :
33- ref : quay.io/coreos /olm:master
33+ ref : quay.io/operator-framework /olm:master
3434 pullPolicy : Always
3535 service :
3636 internalPort : 5443
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ if [ -z "$NO_MINIKUBE" ]; then
1010 eval $( minikube docker-env) || { echo ' Cannot switch to minikube docker' ; exit 1; }
1111 kubectl config use-context minikube
1212fi
13- docker build -f e2e .Dockerfile .
14- docker tag $( docker images --filter ' label=stage=olm' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/coreos /olm:local
15- docker tag $( docker images --filter ' label=stage=builder' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/coreos /olm-e2e:local
13+ docker build -f upstream .Dockerfile .
14+ docker tag $( docker images --filter ' label=stage=olm' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/operator-framework /olm:local
15+ docker tag $( docker images --filter ' label=stage=builder' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/operator-framework /olm-e2e:local
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ cp test/e2e/e2e-values.yaml "$test_e2e_config"
1717 echo " catalog_namespace: ${namespace} " ;
1818 echo " operator_namespace: ${operator_namespace} " ; } >> " $test_e2e_config "
1919
20- ./scripts/package-release .sh 1.0.0 test/e2e/resources " $test_e2e_config "
20+ ./scripts/package_release .sh 1.0.0 test/e2e/resources " $test_e2e_config "
2121
2222function cleanup {
2323 for resource in test/e2e/test-resources/* .yaml; do
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cp test/e2e/e2e-values.yaml "$test_e2e_config"
1818 echo " catalog_namespace: ${namespace} " ;
1919 echo " operator_namespace: ${operator_namespace} " ; } >> " $test_e2e_config "
2020
21- ./scripts/package-release .sh 1.0.0 test/e2e/resources " $test_e2e_config "
21+ ./scripts/package_release .sh 1.0.0 test/e2e/resources " $test_e2e_config "
2222
2323function cleanup {
2424 for resource in test/e2e/resources/* .yaml; do
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ writeStatusName: '""'
55olm :
66 replicaCount : 1
77 image :
8- ref : quay.io/coreos /olm:local
8+ ref : quay.io/operator-framework /olm:local
99 pullPolicy : IfNotPresent
1010 service :
1111 internalPort : 8080
1414catalog :
1515 replicaCount : 1
1616 image :
17- ref : quay.io/coreos /olm:local
17+ ref : quay.io/operator-framework /olm:local
1818 pullPolicy : IfNotPresent
1919 service :
2020 internalPort : 8080
@@ -23,17 +23,17 @@ catalog:
2323package :
2424 replicaCount : 1
2525 image :
26- ref : quay.io/coreos /olm:local
26+ ref : quay.io/operator-framework /olm:local
2727 pullPolicy : IfNotPresent
2828 service :
2929 internalPort : 5443
3030 commandArgs : -test.coverprofile=/tmp/catalog-coverage.cov
3131
3232e2e :
3333 image :
34- ref : quay.io/coreos /olm-e2e:local
34+ ref : quay.io/operator-framework /olm-e2e:local
3535
3636job_name : e2e
3737
3838catalog_sources :
39- - rh-operators
39+ - rh-operators
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ writeStatusName: '""'
33olm :
44 replicaCount : 1
55 image :
6- ref : quay.io/coreos /olm:local
6+ ref : quay.io/operator-framework /olm:local
77 pullPolicy : IfNotPresent
88 service :
99 internalPort : 8080
1212catalog :
1313 replicaCount : 1
1414 image :
15- ref : quay.io/coreos /olm:local
15+ ref : quay.io/operator-framework /olm:local
1616 pullPolicy : IfNotPresent
1717 service :
1818 internalPort : 8080
@@ -21,17 +21,17 @@ catalog:
2121package :
2222 replicaCount : 1
2323 image :
24- ref : quay.io/coreos /olm:local
24+ ref : quay.io/operator-framework /olm:local
2525 pullPolicy : IfNotPresent
2626 service :
2727 internalPort : 5443
2828 commandArgs : --debug
2929
3030e2e :
3131 image :
32- ref : quay.io/coreos /olm-e2e:local
32+ ref : quay.io/operator-framework /olm-e2e:local
3333
3434job_name : e2e
3535
3636catalog_sources :
37- - rh-operators
37+ - rh-operators
You can’t perform that action at this time.
0 commit comments