Browse Source

Move to quay.io with kuryr/demo docker image.

Change documentation and tests from 'demo/kuryr' which by default will
use docker registry to 'quay.io/demo/kuryr' which will hint about
quay.io registry.

Change-Id: I7edc6bd8fed2943acf78ce2b66c44c91b1c33114
(cherry picked from commit 293750c9db)
changes/81/765481/1
Roman Dobosz 5 months ago
parent
commit
f720507d48
3 changed files with 7 additions and 7 deletions
  1. +2
    -2
      doc/source/installation/network_namespace.rst
  2. +1
    -1
      doc/source/installation/network_policy.rst
  3. +4
    -4
      kuryr_kubernetes/tests/unit/controller/drivers/test_network_policy_security_groups.py

+ 2
- 2
doc/source/installation/network_namespace.rst View File

@ -108,10 +108,10 @@ Testing the network per namespace functionality
3. Create a pod in the created namespaces::
$ kubectl run -n test1 --image kuryr/demo demo
$ kubectl run -n test1 --image quay.io/kuryr/demo demo
deployment "demo" created
$ kubectl run -n test2 --image kuryr/demo demo
$ kubectl run -n test2 --image quay.io/kuryr/demo demo
deployment "demo" created
$ kubectl -n test1 get pod -o wide


+ 1
- 1
doc/source/installation/network_policy.rst View File

@ -308,7 +308,7 @@ the label `project: default` as stated on the policy namespaceSelector.
name: demo-pod
spec:
containers:
- image: kuryr/demo
- image: quay.io/kuryr/demo
imagePullPolicy: Always
name: demo-pod


+ 4
- 4
kuryr_kubernetes/tests/unit/controller/drivers/test_network_policy_security_groups.py View File

@ -239,7 +239,7 @@ class TestNetworkPolicySecurityGroupsDriver(test_base.TestCase):
'environment': 'production'}},
'spec': {
'containers': [{
'image': 'kuryr/demo',
'image': 'quay.io/kuryr/demo',
'imagePullPolicy': 'Always',
'name': mock.sentinel.pod_name
}]
@ -259,7 +259,7 @@ class TestNetworkPolicySecurityGroupsDriver(test_base.TestCase):
'"run": "demo","environment": "development"}'}},
'spec': {
'containers': [{
'image': 'kuryr/demo',
'image': 'quay.io/kuryr/demo',
'imagePullPolicy': 'Always',
'name': mock.sentinel.pod_name
}]
@ -273,7 +273,7 @@ class TestNetworkPolicySecurityGroupsDriver(test_base.TestCase):
'namespace': self._namespace},
'spec': {
'containers': [{
'image': 'kuryr/demo',
'image': 'quay.io/kuryr/demo',
'imagePullPolicy': 'Always',
'name': mock.sentinel.pod_name
}]
@ -296,7 +296,7 @@ class TestNetworkPolicySecurityGroupsDriver(test_base.TestCase):
'openstack.org/kuryr-pod-label': '{"tier": "backend"}'}},
'spec': {
'containers': [{
'image': 'kuryr/demo',
'image': 'quay.io/kuryr/demo',
'imagePullPolicy': 'Always',
'name': mock.sentinel.pod_name
}]},


Loading…
Cancel
Save