Skip to content

Commit

Permalink
Add support for template tags (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor authored Oct 26, 2023
1 parent 0b6ab6a commit 547e43a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azimuth_capi/models/v1alpha1/cluster_template.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import typing as t

from pydantic import Extra, Field, constr

from kube_custom_resource import CustomResource, Scope, schema
Expand Down Expand Up @@ -39,6 +41,10 @@ class ClusterTemplateSpec(schema.BaseModel):
"using the template."
)
)
tags: t.List[constr(min_length = 1)] = Field(
default_factory = list,
description = "Tags for the cluster."
)
values: ClusterTemplateValues = Field(
...,
description = "The values to use when deploying the Helm chart."
Expand Down

0 comments on commit 547e43a

Please sign in to comment.