Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1820238: Fetch latest changes from upstream #38

Merged
merged 23 commits into from Nov 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8cb9645
Update cloud-controller-manager flags (#1264)
oz123 Oct 7, 2020
9e81004
[all] Fix build-cross target in Makefile (#1262)
lingxiankong Oct 9, 2020
ec33058
[cinder-csi-plugin] explicitly set cinder CSI sidecar timeouts to 3m …
kayrus Oct 12, 2020
14bcf68
[cinder-csi-plugin] Improve docs [Part2] (#1254)
ramineni Oct 12, 2020
bce5ea0
[cinder-csi-plugin]: handle a case when a volume was already resized …
kayrus Oct 12, 2020
b9e6274
[octavia-ingress-controller] Support Ingress v1 networking.k8s.io (#1…
lingxiankong Oct 12, 2020
d85ee32
Fix format error (#1274)
jichenjc Oct 15, 2020
8deeb93
documentation for occm metrics (#1283)
seanschneeweiss Oct 22, 2020
403dcd1
Add toleration to CSI daemonset (#1276)
jichenjc Oct 22, 2020
bf60e08
[occm] Fix updating listeners (#1249)
lingxiankong Oct 23, 2020
7732177
[manila-csi-plugin] Fix whitespaces and invalid dot (#1285)
isantospardo Oct 26, 2020
90378cf
[manila-csi-plugin] Added appendShareMetadata volume parameter (#1291)
gman0 Oct 29, 2020
3129305
[cinder-csi-plugin] update topology feature docs (#1296)
ramineni Oct 29, 2020
a5e2b93
organize docs (#1295)
ramineni Oct 29, 2020
e4326dd
[DOC] Fix a doc deadlink (#1297)
jichenjc Oct 30, 2020
fceea30
[cinder-csi-plugin] Add error handling for list fucntions before crea…
takmatsu Nov 6, 2020
6465560
Add description for os-TLSInsecure (#1310)
jichenjc Nov 10, 2020
ab39536
[occm]: add support for "tls-insecure", "trustee-id" and "trustee-pas…
kayrus Nov 14, 2020
36ff3f7
Fix broken doc link (#1312)
jichenjc Nov 15, 2020
122a884
bump CSI related container version (#1240)
jichenjc Nov 17, 2020
05badc9
[cinder-csi-plugin] support ignore-volume-az (#1307)
ramineni Nov 19, 2020
51e137d
Fix broken link in Keystone docs (#1317)
mikejoh Nov 23, 2020
7ff2024
Merge remote-tracking branch 'origin/master' into openshift-master
Fedosin Nov 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .zuul.yaml
Expand Up @@ -30,7 +30,6 @@
jobs:
- cloud-provider-openstack-format:
irrelevant-files:
- ^docs/.*$
- ^.*\.md$
- ^OWNERS$
- ^SECURITY_CONTACTS$
Expand Down
18 changes: 9 additions & 9 deletions Makefile
Expand Up @@ -43,6 +43,7 @@ GOARCH :=
GOFLAGS :=
TAGS :=
LDFLAGS := "-w -s -X 'k8s.io/cloud-provider-openstack/pkg/version.Version=${VERSION}'"
GOX_LDFLAGS := $(shell echo "$(LDFLAGS) -extldflags \"-static\"")
REGISTRY ?= k8scloudprovider
IMAGE_OS ?= linux
IMAGE_NAMES ?= openstack-cloud-controller-manager \
Expand Down Expand Up @@ -303,19 +304,18 @@ version:
@echo ${VERSION}

.PHONY: build-cross
build-cross: LDFLAGS += -extldflags "-static"
build-cross: work
ifndef HAS_GOX
echo "installing gox"
GO111MODULE=off go get -u github.com/mitchellh/gox
go get -u github.com/mitchellh/gox
endif
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/openstack-cloud-controller-manager/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/cinder-csi-plugin/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/k8s-keystone-auth/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/client-keystone-auth/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/octavia-ingress-controller/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/manila-csi-plugin/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/magnum-auto-healer/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/openstack-cloud-controller-manager/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/cinder-csi-plugin/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/k8s-keystone-auth/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/client-keystone-auth/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/octavia-ingress-controller/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/manila-csi-plugin/
CGO_ENABLED=0 gox -parallel=$(GOX_PARALLEL) -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(GOX_LDFLAGS)' $(GIT_HOST)/$(BASE_DIR)/cmd/magnum-auto-healer/

.PHONY: dist
dist: build-cross
Expand Down
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -4,22 +4,22 @@ Thank you for visiting the `Cloud Provider OpenStack` repository!

This Repository hosts various plugins relevant to OpenStack and Kubernetes Integration

* [OpenStack Cloud Controller Manager](/docs/using-openstack-cloud-controller-manager.md/)
* [Octavia Ingress Controller](/docs/using-octavia-ingress-controller.md/)
* [OpenStack Cloud Controller Manager](/docs/openstack-cloud-controller-manager/using-openstack-cloud-controller-manager.md/)
* [Octavia Ingress Controller](/docs/octavia-ingress-controller/using-octavia-ingress-controller.md/)
* [Cinder CSI Plugin](/docs/cinder-csi-plugin/using-cinder-csi-plugin.md/)
* [Keystone Webhook Authentication Authorization](/docs/using-keystone-webhook-authenticator-and-authorizer.md/)
* [Client Keystone](/docs/using-client-keystone-auth.md/)
* [Manila CSI Plugin](/docs/using-manila-csi-plugin.md/)
* [Barbican KMS Plugin](/docs/using-barbican-kms-plugin.md/)
* [Magnum Auto Healer](/docs/using-magnum-auto-healer.md/)
* [Keystone Webhook Authentication Authorization](/docs/keystone-auth/using-keystone-webhook-authenticator-and-authorizer.md/)
* [Client Keystone](/docs/keystone-auth/using-client-keystone-auth.md/)
* [Manila CSI Plugin](/docs/manila-csi-plugin/using-manila-csi-plugin.md/)
* [Barbican KMS Plugin](/docs/barbican-kms-plugin/using-barbican-kms-plugin.md/)
* [Magnum Auto Healer](/docs/magnum-auto-healer/using-magnum-auto-healer.md/)

> NOTE: Cinder Standalone Provisioner, Manila Provisioner and Cinder FlexVolume Driver were removed since release v1.18.0.

> Version 1.17 was the last release of Manila Provisioner, which is unmaintained from now on. Due to dependency issues, we removed the code from master but it is still accessible in the [release-1.17](https://github.com/kubernetes/cloud-provider-openstack/tree/release-1.17) branch. Please consider migrating to Manila CSI Plugin.

## Developing

Please Refer [Getting Started Guide](/docs/getting-started-provider-dev.md/) for setting up development environment.
Please Refer [Getting Started Guide](/docs/developers-guide.md/) for setting up development environment.

## Contact

Expand Down
2 changes: 1 addition & 1 deletion charts/cinder-csi-plugin/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: latest
description: Cinder CSI Chart for OpenStack
name: openstack-cinder-csi
version: 1.2.3
version: 1.2.6
home: https://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
Expand Up @@ -31,7 +31,7 @@ spec:
imagePullPolicy: {{ .Values.csi.attacher.image.pullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
- "--timeout=3m"
- "--timeout={{ .Values.timeout }}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -43,7 +43,7 @@ spec:
imagePullPolicy: {{ .Values.csi.provisioner.image.pullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
- "--timeout=3m"
- "--timeout={{ .Values.timeout }}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -55,6 +55,7 @@ spec:
imagePullPolicy: {{ .Values.csi.snapshotter.image.pullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
- "--timeout={{ .Values.timeout }}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -66,6 +67,7 @@ spec:
imagePullPolicy: {{ .Values.csi.resizer.image.pullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
- "--csiTimeout={{ .Values.timeout }}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
2 changes: 2 additions & 0 deletions charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml
Expand Up @@ -13,6 +13,8 @@ spec:
labels:
{{- include "cinder-csi.nodeplugin.labels" . | nindent 8 }}
spec:
tolerations:
- operator: Exists
serviceAccount: csi-cinder-node-sa
hostNetwork: true
containers:
Expand Down
11 changes: 6 additions & 5 deletions charts/cinder-csi-plugin/values.yaml
@@ -1,31 +1,32 @@
nameOverride: ""
fullnameOverride: ""
timeout: 3m

csi:
attacher:
image:
repository: quay.io/k8scsi/csi-attacher
tag: v2.2.0
tag: v2.2.1
pullPolicy: IfNotPresent
provisioner:
image:
repository: quay.io/k8scsi/csi-provisioner
tag: v1.6.0
tag: v1.6.1
pullPolicy: IfNotPresent
snapshotter:
image:
repository: quay.io/k8scsi/csi-snapshotter
tag: v2.1.1
tag: v2.1.2
pullPolicy: IfNotPresent
resizer:
image:
repository: quay.io/k8scsi/csi-resizer
tag: v0.4.0
tag: v0.5.1
pullPolicy: IfNotPresent
nodeDriverRegistrar:
image:
repository: quay.io/k8scsi/csi-node-driver-registrar
tag: v1.2.0
tag: v1.3.0
pullPolicy: IfNotPresent
plugin:
image:
Expand Down
2 changes: 1 addition & 1 deletion charts/manila-csi-plugin/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: latest
description: Manila CSI Chart for OpenStack
name: openstack-manila-csi
version: 1.0.0
version: 1.0.1
home: http://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
Expand Up @@ -135,15 +135,12 @@ spec:
hostPath:
path: /var/lib/kubelet/pods
type: Directory
{{- if .Values.controllerplugin.affinity -}}
affinity:
{{ toYaml .Values.controllerplugin.affinity . | indent 8 }}
{{- end -}}
{{- if .Values.controllerplugin.nodeSelector -}}
nodeSelector:
{{ toYaml .Values.controllerplugin.nodeSelector | indent 8 }}
{{- end -}}
{{- if .Values.controllerplugin.tolerations -}}
tolerations:
{{ toYaml .Values.controllerplugin.tolerations | indent 8 }}
{{- end -}}
{{- if .Values.controllerplugin.affinity }}
affinity: {{ toYaml .Values.controllerplugin.affinity | nindent 8 }}
{{- end }}
{{- if .Values.controllerplugin.nodeSelector }}
nodeSelector: {{ toYaml .Values.controllerplugin.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.controllerplugin.tolerations }}
tolerations: {{ toYaml .Values.controllerplugin.tolerations | nindent 8 }}
{{- end }}
21 changes: 9 additions & 12 deletions charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml
Expand Up @@ -125,15 +125,12 @@ spec:
name: manila-csi-runtimeconf-cm
{{- end }}
{{- end }}
{{- if .Values.nodeplugin.affinity -}}
affinity:
{{ toYaml .Values.nodeplugin.affinity . | indent 8 }}
{{- end -}}
{{- if .Values.nodeplugin.nodeSelector -}}
nodeSelector:
{{ toYaml .Values.nodeplugin.nodeSelector | indent 8 }}
{{- end -}}
{{- if .Values.nodeplugin.tolerations -}}
tolerations:
{{ toYaml .Values.nodeplugin.tolerations | indent 8 }}
{{- end -}}
{{- if .Values.nodeplugin.affinity }}
affinity: {{ toYaml .Values.nodeplugin.affinity | nindent 8 }}
{{- end }}
{{- if .Values.nodeplugin.nodeSelector }}
nodeSelector: {{ toYaml .Values.nodeplugin.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.nodeplugin.tolerations }}
tolerations: {{ toYaml .Values.nodeplugin.tolerations | nindent 8 }}
{{- end }}