diff --git a/app/models/container_label_tag_mapping.rb b/app/models/container_label_tag_mapping.rb index 6408ba2c425..00c47e26a70 100644 --- a/app/models/container_label_tag_mapping.rb +++ b/app/models/container_label_tag_mapping.rb @@ -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,