Skip to content

Commit

Permalink
Use single quotes for user/pass
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsgabriel committed Apr 12, 2022
1 parent c9c56eb commit baac31a
Show file tree
Hide file tree
Showing 19 changed files with 76 additions and 76 deletions.
8 changes: 4 additions & 4 deletions pkg/providers/vsphere/config/template-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "{{.eksaVsphereUsername}}"
password: "{{.eksaVspherePassword}}"
username: '{{.eksaVsphereUsername}}'
password: '{{.eksaVspherePassword}}'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -1043,8 +1043,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
{{.vsphereServer}}.password: "{{.eksaCloudProviderPassword}}"
{{.vsphereServer}}.username: "{{.eksaCloudProviderUsername}}"
{{.vsphereServer}}.password: '{{.eksaCloudProviderPassword}}'
{{.vsphereServer}}.username: '{{.eksaCloudProviderUsername}}'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -981,8 +981,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -980,8 +980,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -1034,8 +1034,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -956,8 +956,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -902,8 +902,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
8 changes: 4 additions & 4 deletions pkg/providers/vsphere/testdata/expected_results_main_cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "EksavSphereCPPassword"
vsphere_server.username: "EksavSphereCPUsername"
vsphere_server.password: 'EksavSphereCPPassword'
vsphere_server.username: 'EksavSphereCPUsername'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "EksavSphereCPPassword"
vsphere_server.username: "EksavSphereCPUsername"
vsphere_server.password: 'EksavSphereCPPassword'
vsphere_server.username: 'EksavSphereCPUsername'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -954,8 +954,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -956,8 +956,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -981,8 +981,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -894,8 +894,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -897,8 +897,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -965,8 +965,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ metadata:
labels:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
username: "vsphere_username"
password: "vsphere_password"
username: 'vsphere_username'
password: 'vsphere_password'
---
apiVersion: v1
kind: Secret
Expand Down Expand Up @@ -1005,8 +1005,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
vsphere_server.password: "vsphere_password"
vsphere_server.username: "vsphere_username"
vsphere_server.password: 'vsphere_password'
vsphere_server.username: 'vsphere_username'
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Loading

0 comments on commit baac31a

Please sign in to comment.