Browse Source

Merge "Fix some misspellings within Kuryr-Kubernetes"

tags/0.6.1
Zuul 5 months ago
parent
commit
2320e43122

+ 1
- 1
CONTRIBUTING.rst View File

@@ -16,7 +16,7 @@ Bugs should be filed on Launchpad, not GitHub:
16 16
 
17 17
    https://bugs.launchpad.net/kuryr-kubernetes
18 18
 
19
-If you want to have your code checked for pep8 automatically before commiting
19
+If you want to have your code checked for pep8 automatically before committing
20 20
 changes, you can just do::
21 21
 
22 22
     pip install pre-commit

+ 1
- 1
doc/source/devref/port_crd_usage.rst View File

@@ -167,7 +167,7 @@ KuryrPorts objects that were annotated with `deleting` label at the
167 167
 (or any other SDN) associated resources.
168 168
 
169 169
 As for the Ports Pools, right now they reside on memory on the
170
-Kuryr-controller and need to be recovered everytime the controller gets
170
+Kuryr-controller and need to be recovered every time the controller gets
171 171
 restarted. To perform this recovery we are relying on Neutron Port
172 172
 device-owner information which may not be completely waterproof in all
173 173
 situations (e.g., if there is another entity using the same device

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

@@ -108,7 +108,7 @@ This should generate 5 files in your ``<output_dir>``:
108 108
   kuryr-cni daemonset mounts /var/run, due to necessity of accessing to several sub directories
109 109
   like openvswitch and auxiliary directory for vhostuser configuration and socket files. Also when
110 110
   neutron-openvswitch-agent works with datapath_type = netdev configuration option, kuryr-kubernetes
111
-  has to move vhostuser socket to auxilary directory, that auxiliary directory should be on the same
111
+  has to move vhostuser socket to auxiliary directory, that auxiliary directory should be on the same
112 112
   mount point, otherwise connection of this socket will be refused.
113 113
   In case when Open vSwitch keeps vhostuser socket files not in /var/run/openvswitch, openvswitch
114 114
   mount point in cni_ds.yaml and [vhostuser] section in config_map.yml should be changed properly.

+ 2
- 2
doc/source/installation/devstack/ovn_support.rst View File

@@ -57,9 +57,9 @@ Feel free to edit it if you'd like, but it should work as-is.
57 57
 
58 58
 Note that due to OVN compiling OVS from source at
59 59
 /usr/local/var/run/openvswitch we need to state at the local.conf that the path
60
-is different from the default one (i.e., /var/run/openvswtich).
60
+is different from the default one (i.e., /var/run/openvswitch).
61 61
 
62
-Optionally, the ports pool funcionality can be enabled by following:
62
+Optionally, the ports pool functionality can be enabled by following:
63 63
 :doc:`./ports-pool`
64 64
 
65 65
 5. Run DevStack.

+ 1
- 1
kuryr_kubernetes/controller/drivers/base.py View File

@@ -778,7 +778,7 @@ class NetworkPolicyDriver(DriverBase):
778 778
         :param policy: dict containing Kubernetes NP object
779 779
         :param selector: (optional) specifc pod selector
780 780
         :returns: list of Pods objects affected by the policy or the selector
781
-                  if it is pased
781
+                  if it is passed
782 782
         """
783 783
         raise NotImplementedError()
784 784
 

+ 2
- 2
kuryr_kubernetes/controller/drivers/network_policy.py View File

@@ -241,12 +241,12 @@ class NetworkPolicyDriver(base.NetworkPolicyDriver):
241 241
             elif namespace_selector:
242 242
                 selectors = True
243 243
                 if pod_selector:
244
-                    # allow matching pods on maching namespaces
244
+                    # allow matching pods on matching namespaces
245 245
                     allowed_cidrs.extend(self._get_pods_ips(
246 246
                         pod_selector,
247 247
                         namespace_selector=namespace_selector))
248 248
                 else:
249
-                    # allow from/to all on the maching namespaces
249
+                    # allow from/to all on the matching namespaces
250 250
                     allowed_cidrs.extend(self._get_namespaces_cidr(
251 251
                         namespace_selector))
252 252
             else:

Loading…
Cancel
Save