Skip to content

Commit

Permalink
support azure labeling and tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zagaynov committed Apr 17, 2018
1 parent 7558ac5 commit 29095d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/container_label_tag_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ContainerLabelTagMapping < ApplicationRecord

require_nested :Mapper

TAG_PREFIXES = ['/managed/amazon:', '/managed/kubernetes:'].freeze
TAG_PREFIXES = %w(amazon azure kubernetes).map { |name| "/managed/#{name}:" }.freeze
validate :validate_tag_prefix

# Return ContainerLabelTagMapping::Mapper instance that holds all current mappings,
Expand Down

0 comments on commit 29095d7

Please sign in to comment.