Skip to content

Commit a017baa

Browse files
committed
refactor(images): use operator-framework namespace for all olm images
1 parent b7bbf0c commit a017baa

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

Documentation/design/developing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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
1010
kubectl create ns olm-testing
1111
kubectl get secrets -n tectonic-system -o yaml coreos-pull-secret | sed 's/tectonic-system/olm-testing/g' | kubectl create -f -
1212
kubectl 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
6262
kubectl apply -f ./custom-olm
6363
```
6464

Documentation/install/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ olm:
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:
7777
To configure a release of OLM for installation in a cluster:
7878
7979
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`
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

8989
1. Deploy to kubernetes: `kubectl apply -f ./my-olm-deployment/templates/`

Documentation/install/local-values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ debug: true
88
olm:
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

1616
catalog:
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

2424
package:
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

3232
catalog_sources:
33-
- rh-operators
33+
- rh-operators

deploy/chart/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ debug: false
99
olm:
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:
3030
package:
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

scripts/build_local.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1212
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

scripts/run_e2e_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

2222
function cleanup {
2323
for resource in test/e2e/test-resources/*.yaml; do

scripts/run_e2e_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

2323
function cleanup {
2424
for resource in test/e2e/resources/*.yaml; do

test/e2e/e2e-bare-values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ writeStatusName: '""'
55
olm:
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
@@ -14,7 +14,7 @@ olm:
1414
catalog:
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:
2323
package:
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

3232
e2e:
3333
image:
34-
ref: quay.io/coreos/olm-e2e:local
34+
ref: quay.io/operator-framework/olm-e2e:local
3535

3636
job_name: e2e
3737

3838
catalog_sources:
39-
- rh-operators
39+
- rh-operators

test/e2e/e2e-values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ writeStatusName: '""'
33
olm:
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
@@ -12,7 +12,7 @@ olm:
1212
catalog:
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:
2121
package:
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

3030
e2e:
3131
image:
32-
ref: quay.io/coreos/olm-e2e:local
32+
ref: quay.io/operator-framework/olm-e2e:local
3333

3434
job_name: e2e
3535

3636
catalog_sources:
37-
- rh-operators
37+
- rh-operators

0 commit comments

Comments
 (0)