From 91dff61008be04bcad0becdfde27d7c7e75c5dd1 Mon Sep 17 00:00:00 2001 From: Seungkyu Ahn Date: Mon, 19 Jun 2017 15:33:50 +0900 Subject: [PATCH 1/3] Fixed helm bash complete --- roles/kubernetes-apps/helm/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/helm/tasks/main.yml b/roles/kubernetes-apps/helm/tasks/main.yml index 1d50f8b9b..f12875da2 100644 --- a/roles/kubernetes-apps/helm/tasks/main.yml +++ b/roles/kubernetes-apps/helm/tasks/main.yml @@ -15,5 +15,5 @@ when: helm_container.changed - name: Helm | Set up bash completion - shell: "umask 022 && {{ bin_dir }}/helm completion >/etc/bash_completion.d/helm.sh" + shell: "umask 022 && {{ bin_dir }}/helm completion bash >/etc/bash_completion.d/helm.sh" when: ( helm_container.changed and not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] ) From bb6f727f25aaa626698688fac2faa4872635a88d Mon Sep 17 00:00:00 2001 From: vgkowski Date: Mon, 19 Jun 2017 15:48:34 +0200 Subject: [PATCH 2/3] Update openstack documentation with Calico Linked to the issue https://github.com/kubernetes-incubator/kubespray/issues/1359 --- docs/openstack.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/openstack.md b/docs/openstack.md index 1a82133c0..77bb293bf 100644 --- a/docs/openstack.md +++ b/docs/openstack.md @@ -37,12 +37,8 @@ Then you can use the instance ids to find the connected [neutron](https://wiki.o Given the port ids on the left, you can set the `allowed_address_pairs` in neutron: - # allow kube_service_addresses network - neutron port-update 5662a4e0-e646-47f0-bf88-d80fbd2d99ef --allowed_address_pairs list=true type=dict ip_address=10.233.0.0/18 - neutron port-update e5ae2045-a1e1-4e99-9aac-4353889449a7 --allowed_address_pairs list=true type=dict ip_address=10.233.0.0/18 - - # allow kube_pods_subnet network - neutron port-update 5662a4e0-e646-47f0-bf88-d80fbd2d99ef --allowed_address_pairs list=true type=dict ip_address=10.233.64.0/18 - neutron port-update e5ae2045-a1e1-4e99-9aac-4353889449a7 --allowed_address_pairs list=true type=dict ip_address=10.233.64.0/18 + # allow kube_service_addresses and kube_pods_subnet network + neutron port-update 5662a4e0-e646-47f0-bf88-d80fbd2d99ef --allowed_address_pairs list=true type=dict ip_address=10.233.0.0/18 ip_address=10.233.64.0/18 + neutron port-update e5ae2045-a1e1-4e99-9aac-4353889449a7 --allowed_address_pairs list=true type=dict ip_address=10.233.0.0/18 ip_address=10.233.64.0/18 Now you can finally run the playbook. From e17c2ef698beda88f132227b49e5b877c53fb7a2 Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Fri, 23 Jun 2017 11:49:48 -0400 Subject: [PATCH 3/3] premoderator breaks on redirect. update to use kubespray. --- scripts/premoderator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/premoderator.sh b/scripts/premoderator.sh index 4b35af8d2..9ad490a57 100644 --- a/scripts/premoderator.sh +++ b/scripts/premoderator.sh @@ -8,7 +8,7 @@ MAGIC="${MAGIC:-ci check this}" # Get PR number from CI_BUILD_REF_NAME issue=$(echo ${CI_BUILD_REF_NAME} | perl -ne '/^pr-(\d+)-\S+$/ && print $1') # Get the user name from the PR comments with the wanted magic incantation casted -user=$(curl ${CURL_ARGS} "https://api.github.com/repos/kubernetes-incubator/kargo/issues/${issue}/comments" \ +user=$(curl ${CURL_ARGS} "https://api.github.com/repos/kubernetes-incubator/kubespray/issues/${issue}/comments" \ | jq -M "map(select(.body | contains (\"$MAGIC\"))) | .[0] .user.login" | tr -d '"') # Check for the required user group membership to allow (exit 0) or decline (exit >0) the pipeline if [ "$user" = "null" ]; then