Sha256: 5e88467c62e03a7e6b34b58f29785fe4ccd3655274f5c704f91a8ae498045322
Contents?: true
Size: 673 Bytes
Versions: 4
Compression:
Stored size: 673 Bytes
Contents
# frozen_string_literal: true module Metatron module Templates # The ServiceAccount Kubernetes resource class ServiceAccount < Template include Concerns::Annotated include Concerns::Namespaced attr_accessor :automount_service_account_token alias automountServiceAccountToken automount_service_account_token def render { apiVersion:, kind:, automountServiceAccountToken:, metadata: { name:, labels: base_labels.merge(additional_labels) }.merge(formatted_annotations).merge(formatted_namespace).compact }.compact end end end end
Version data entries
4 entries across 4 versions & 1 rubygems