Skip to content

Commit

Permalink
Removing versions from deployment names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Q-Lee authored and mikedanese committed Mar 29, 2016
1 parent 90f046e commit 5eec0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-addon-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@ function update-addons() {
local -r addon_path=$1
# be careful, reconcile-objects uses global variables
reconcile-objects ${addon_path} ReplicationController "-" &
reconcile-objects ${addon_path} Deployment "-" &

# We don't expect names to be versioned for the following kinds, so
# we match the entire name, ignoring version suffix.
# That's why we pass an empty string as the version separator.
# If the description differs on disk, the object should be recreated.
# This is not implemented in this version.
reconcile-objects ${addon_path} Deployment "" &
reconcile-objects ${addon_path} Service "" &
reconcile-objects ${addon_path} PersistentVolume "" &
reconcile-objects ${addon_path} PersistentVolumeClaim "" &
Expand Down

0 comments on commit 5eec0fb

Please sign in to comment.