Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for template tags #34

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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