Sha256: 7c86de109b71686917ec8b63c710fd37ffb4cc9612b14c2abaf172a4e1f8d4c2
Contents?: true
Size: 697 Bytes
Versions: 12
Compression:
Stored size: 697 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: { "#{label_namespace}/name": name }.merge(additional_labels) }.merge(formatted_annotations).merge(formatted_namespace).compact }.compact end end end end
Version data entries
12 entries across 12 versions & 1 rubygems