Skip to content

Commit

Permalink
Merge pull request #17212 from AlexanderZagaynov/BZ-1493041
Browse files Browse the repository at this point in the history
Azure labeling and tagging support
(cherry picked from commit 585990b)

https://bugzilla.redhat.com/show_bug.cgi?id=1568807
  • Loading branch information
agrare authored and simaishi committed Apr 23, 2018
1 parent 0cd8d06 commit 32f6fcf
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 32f6fcf

Please sign in to comment.