Browse Source

Add option cafile default value in kuryr-controller's config

And fix documents typo about "generate_k8s_resource_definitions.sh"

Closes-bug: 1873544
Change-Id: I1e227b6d9efce4c41ee2431a817b00d97d33af91
tags/2.0.0.0rc1
xujingsong 2 months ago
parent
commit
92e1b7f63a
2 changed files with 10 additions and 1 deletions
  1. +1
    -1
      doc/source/installation/containerized.rst
  2. +9
    -0
      tools/generate_k8s_resource_definitions.sh

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

@@ -42,7 +42,7 @@ that can be used to Deploy Kuryr on Kubernetes. The script is placed in

.. code-block:: console

$ ./tools/generate_k8s_resource_definitions <output_dir> [<controller_conf_path>] [<cni_conf_path>] [<ca_certificate_path>]
$ ./tools/generate_k8s_resource_definitions.sh <output_dir> [<controller_conf_path>] [<cni_conf_path>] [<ca_certificate_path>]

* ``output_dir`` - directory where to put yaml files with definitions.
* ``controller_conf_path`` - path to custom kuryr-controller configuration


+ 9
- 0
tools/generate_k8s_resource_definitions.sh View File

@@ -57,6 +57,15 @@ username = $username
password = $password
auth_url = $auth_url
auth_type = password
EOF

if [ ! -z $CA_CERTIFICATE_PATH ]; then
cat >> $CONF_PATH << EOF
cafile = /etc/ssl/certs/kuryr-ca-bundle.crt
EOF
fi

cat >> $CONF_PATH << EOF
[neutron_defaults]
ovs_bridge = br-int
service_subnet = $service_subnet_id


Loading…
Cancel
Save