Skip to content

Commit

Permalink
[VKCI-313] error in the CPI manifests - missed mountPath in config (#366
Browse files Browse the repository at this point in the history
)

* error in the CPI manifests - missed mountPath in config

Signed-off-by: Aniruddha Shamasundar <[email protected]>

* add -volume suffix for the deployment volume, regenerate manifests

Signed-off-by: Aniruddha Shamasundar <[email protected]>

---------

Signed-off-by: Aniruddha Shamasundar <[email protected]>
  • Loading branch information
Anirudh9794 authored Apr 2, 2024
1 parent 4212595 commit cb57dbe
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ spec:
mountPath: /etc/kubernetes/vcloud
- name: vcloud-ccm-vcloud-basic-auth-volume
mountPath: /etc/kubernetes/vcloud/basic-auth
- name: vcloud-capvcd-zones-volume
mountPath: /opt/vmware-cloud-director/ccm
env:
- name: CLUSTER_ID
valueFrom:
Expand Down Expand Up @@ -193,7 +195,7 @@ spec:
- name: vcloud-ccm-config-volume
configMap:
name: vcloud-ccm-configmap
- name: vcloud-capvcd-zones
- name: vcloud-capvcd-zones-volume
configMap:
name: vcloud-capvcd-zones
- name: vcloud-ccm-vcloud-basic-auth-volume
Expand Down
4 changes: 3 additions & 1 deletion manifests/cloud-director-ccm-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ spec:
mountPath: /etc/kubernetes/vcloud
- name: vcloud-ccm-vcloud-basic-auth-volume
mountPath: /etc/kubernetes/vcloud/basic-auth
- name: vcloud-capvcd-zones-volume
mountPath: /opt/vmware-cloud-director/ccm
env:
- name: CLUSTER_ID
valueFrom:
Expand Down Expand Up @@ -191,7 +193,7 @@ spec:
- name: vcloud-ccm-config-volume
configMap:
name: vcloud-ccm-configmap
- name: vcloud-capvcd-zones
- name: vcloud-capvcd-zones-volume
configMap:
name: vcloud-capvcd-zones
- name: vcloud-ccm-vcloud-basic-auth-volume
Expand Down
4 changes: 3 additions & 1 deletion manifests/cloud-director-ccm-crs.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ spec:
mountPath: /etc/kubernetes/vcloud
- name: vcloud-ccm-vcloud-basic-auth-volume
mountPath: /etc/kubernetes/vcloud/basic-auth
- name: vcloud-capvcd-zones-volume
mountPath: /opt/vmware-cloud-director/ccm
env:
- name: CLUSTER_ID
valueFrom:
Expand Down Expand Up @@ -191,7 +193,7 @@ spec:
- name: vcloud-ccm-config-volume
configMap:
name: vcloud-ccm-configmap
- name: vcloud-capvcd-zones
- name: vcloud-capvcd-zones-volume
configMap:
name: vcloud-capvcd-zones
- name: vcloud-ccm-vcloud-basic-auth-volume
Expand Down
4 changes: 3 additions & 1 deletion manifests/cloud-director-ccm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ spec:
mountPath: /etc/kubernetes/vcloud
- name: vcloud-ccm-vcloud-basic-auth-volume
mountPath: /etc/kubernetes/vcloud/basic-auth
- name: vcloud-capvcd-zones-volume
mountPath: /opt/vmware-cloud-director/ccm
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
Expand All @@ -185,7 +187,7 @@ spec:
- name: vcloud-ccm-config-volume
configMap:
name: vcloud-ccm-configmap
- name: vcloud-capvcd-zones
- name: vcloud-capvcd-zones-volume
configMap:
name: vcloud-capvcd-zones
- name: vcloud-ccm-vcloud-basic-auth-volume
Expand Down
4 changes: 3 additions & 1 deletion manifests/cloud-director-ccm.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ spec:
mountPath: /etc/kubernetes/vcloud
- name: vcloud-ccm-vcloud-basic-auth-volume
mountPath: /etc/kubernetes/vcloud/basic-auth
- name: vcloud-capvcd-zones-volume
mountPath: /opt/vmware-cloud-director/ccm
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
Expand All @@ -185,7 +187,7 @@ spec:
- name: vcloud-ccm-config-volume
configMap:
name: vcloud-ccm-configmap
- name: vcloud-capvcd-zones
- name: vcloud-capvcd-zones-volume
configMap:
name: vcloud-capvcd-zones
- name: vcloud-ccm-vcloud-basic-auth-volume
Expand Down

0 comments on commit cb57dbe

Please sign in to comment.