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 6
6
* Make any config customizations by editing ` example-values.yaml `
7
7
* Deploy a namespaced copy of OLM
8
8
``` 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
10
10
kubectl create ns olm-testing
11
11
kubectl get secrets -n tectonic-system -o yaml coreos-pull-secret | sed ' s/tectonic-system/olm-testing/g' | kubectl create -f -
12
12
kubectl apply -f ./custom-olm
@@ -58,7 +58,7 @@ kubectl apply -f ./custom-olm
58
58
* either apply the new configmap on it's own and restart catalog or, easier, just run:
59
59
60
60
``` 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
62
62
kubectl apply -f ./custom-olm
63
63
```
64
64
Original file line number Diff line number Diff line change 55
55
replicaCount : 1
56
56
# The image to run. If not building a local image, use sha256 image references
57
57
image :
58
- ref : quay.io/coreos /olm:local
58
+ ref : quay.io/operator-framework /olm:local
59
59
pullPolicy : IfNotPresent
60
60
service :
61
61
# port for readiness/liveness probes
@@ -67,7 +67,7 @@ catalog:
67
67
replicaCount : 1
68
68
# The image to run. If not building a local image, use sha256 image references
69
69
image :
70
- ref : quay.io/coreos/catalog :local
70
+ ref : quay.io/operator-framework/olm :local
71
71
pullPolicy : IfNotPresent
72
72
service :
73
73
# port for readiness/liveness probes
@@ -77,13 +77,13 @@ catalog:
77
77
To configure a release of OLM for installation in a cluster:
78
78
79
79
1. 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`
81
81
82
82
` ` ` bash
83
83
# first arg must be a semver-compatible version string
84
84
# second arg is the output directory
85
85
# 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
87
87
` ` `
88
88
89
89
1. 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
8
8
olm :
9
9
replicaCount : 1
10
10
image :
11
- ref : quay.io/coreos /olm:local
11
+ ref : quay.io/operator-framework /olm:local
12
12
pullPolicy : IfNotPresent
13
13
service :
14
14
internalPort : 8080
15
15
16
16
catalog :
17
17
replicaCount : 1
18
18
image :
19
- ref : quay.io/coreos /olm:local
19
+ ref : quay.io/operator-framework /olm:local
20
20
pullPolicy : IfNotPresent
21
21
service :
22
22
internalPort : 8080
23
23
24
24
package :
25
25
replicaCount : 1
26
26
image :
27
- ref : quay.io/coreos /olm:local
27
+ ref : quay.io/operator-framework /olm:local
28
28
pullPolicy : IfNotPresent
29
29
service :
30
30
internalPort : 5443
31
31
32
32
catalog_sources :
33
- - rh-operators
33
+ - rh-operators
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ debug: false
9
9
olm :
10
10
replicaCount : 1
11
11
image :
12
- ref : quay.io/coreos /olm:master
12
+ ref : quay.io/operator-framework /olm:master
13
13
pullPolicy : Always
14
14
service :
15
15
internalPort : 8080
@@ -20,7 +20,7 @@ catalog:
20
20
replicaCount : 1
21
21
commandArgs : -configmapServerImage=quay.io/operatorframework/configmap-operator-registry:latest
22
22
image :
23
- ref : quay.io/coreos /olm:master
23
+ ref : quay.io/operator-framework /olm:master
24
24
pullPolicy : Always
25
25
service :
26
26
internalPort : 8080
@@ -30,7 +30,7 @@ catalog:
30
30
package :
31
31
replicaCount : 2
32
32
image :
33
- ref : quay.io/coreos /olm:master
33
+ ref : quay.io/operator-framework /olm:master
34
34
pullPolicy : Always
35
35
service :
36
36
internalPort : 5443
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ if [ -z "$NO_MINIKUBE" ]; then
10
10
eval $( minikube docker-env) || { echo ' Cannot switch to minikube docker' ; exit 1; }
11
11
kubectl config use-context minikube
12
12
fi
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"
17
17
echo " catalog_namespace: ${namespace} " ;
18
18
echo " operator_namespace: ${operator_namespace} " ; } >> " $test_e2e_config "
19
19
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 "
21
21
22
22
function cleanup {
23
23
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"
18
18
echo " catalog_namespace: ${namespace} " ;
19
19
echo " operator_namespace: ${operator_namespace} " ; } >> " $test_e2e_config "
20
20
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 "
22
22
23
23
function cleanup {
24
24
for resource in test/e2e/resources/* .yaml; do
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ writeStatusName: '""'
5
5
olm :
6
6
replicaCount : 1
7
7
image :
8
- ref : quay.io/coreos /olm:local
8
+ ref : quay.io/operator-framework /olm:local
9
9
pullPolicy : IfNotPresent
10
10
service :
11
11
internalPort : 8080
14
14
catalog :
15
15
replicaCount : 1
16
16
image :
17
- ref : quay.io/coreos /olm:local
17
+ ref : quay.io/operator-framework /olm:local
18
18
pullPolicy : IfNotPresent
19
19
service :
20
20
internalPort : 8080
@@ -23,17 +23,17 @@ catalog:
23
23
package :
24
24
replicaCount : 1
25
25
image :
26
- ref : quay.io/coreos /olm:local
26
+ ref : quay.io/operator-framework /olm:local
27
27
pullPolicy : IfNotPresent
28
28
service :
29
29
internalPort : 5443
30
30
commandArgs : -test.coverprofile=/tmp/catalog-coverage.cov
31
31
32
32
e2e :
33
33
image :
34
- ref : quay.io/coreos /olm-e2e:local
34
+ ref : quay.io/operator-framework /olm-e2e:local
35
35
36
36
job_name : e2e
37
37
38
38
catalog_sources :
39
- - rh-operators
39
+ - rh-operators
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ writeStatusName: '""'
3
3
olm :
4
4
replicaCount : 1
5
5
image :
6
- ref : quay.io/coreos /olm:local
6
+ ref : quay.io/operator-framework /olm:local
7
7
pullPolicy : IfNotPresent
8
8
service :
9
9
internalPort : 8080
12
12
catalog :
13
13
replicaCount : 1
14
14
image :
15
- ref : quay.io/coreos /olm:local
15
+ ref : quay.io/operator-framework /olm:local
16
16
pullPolicy : IfNotPresent
17
17
service :
18
18
internalPort : 8080
@@ -21,17 +21,17 @@ catalog:
21
21
package :
22
22
replicaCount : 1
23
23
image :
24
- ref : quay.io/coreos /olm:local
24
+ ref : quay.io/operator-framework /olm:local
25
25
pullPolicy : IfNotPresent
26
26
service :
27
27
internalPort : 5443
28
28
commandArgs : --debug
29
29
30
30
e2e :
31
31
image :
32
- ref : quay.io/coreos /olm-e2e:local
32
+ ref : quay.io/operator-framework /olm-e2e:local
33
33
34
34
job_name : e2e
35
35
36
36
catalog_sources :
37
- - rh-operators
37
+ - rh-operators
You can’t perform that action at this time.
0 commit comments