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 11, 2018
1 parent ad11173 commit d6a8720
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(_all_ 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 d6a8720

Please sign in to comment.