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 9, 2018
1 parent d885f8c commit a488dd1
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 a488dd1

Please sign in to comment.