Skip to content

Commit

Permalink
fix(provider/kubernetes): Fixed statefulset and daemonset volumesourc…
Browse files Browse the repository at this point in the history
…e bugs.

feat(provider/kubernetes): split out required & optional artifacts (spinnaker#2273)

fix(provider/docker): update bearer_token to access_token (spinnaker#2274)
  • Loading branch information
chlung committed Jan 14, 2018
1 parent 8dd2722 commit 31c63c7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,11 +553,13 @@ class KubernetesClientApiConverter {
case KubernetesVolumeSourceType.Secret:
def res = new V1SecretVolumeSource()
res.secretName = volumeSource.secret.secretName
volume.secret = res.secretName
volume.secret = res
break

case KubernetesVolumeSourceType.ConfigMap:
def res = new V1ConfigMapVolumeSource()
res.name = volumeSource.configMap.configMapName

def items = volumeSource.configMap.items?.collect { KubernetesKeyToPath item ->
new V1KeyToPath(key: item.key, path: item.path)
}
Expand Down

0 comments on commit 31c63c7

Please sign in to comment.