Skip to content

Commit

Permalink
Add default tags
Browse files Browse the repository at this point in the history
  • Loading branch information
paurosello committed Jun 21, 2024
1 parent 18cc598 commit 20c376b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## Changed

- Add default tags for AWS resources

## [1.0.0] - 2024-06-20

### Changed
Expand Down
1 change: 1 addition & 0 deletions helm/cluster-aws/templates/_aws_cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ metadata:
spec:
additionalTags:
giantswarm.io/cluster: {{ include "resource.default.name" $ }}
giantswarm.io/installation: {{ .Values.global.managementCluster }}
{{- if .Values.global.providerSpecific.additionalResourceTags -}}{{- toYaml .Values.global.providerSpecific.additionalResourceTags | nindent 4 }}{{- end}}
bastion:
enabled: false
Expand Down
1 change: 1 addition & 0 deletions helm/cluster-aws/templates/_machine_pools.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
spec:
additionalTags:
k8s.io/cluster-autoscaler/enabled: "true"
giantswarm.io/machinepool: {{ $name }}
availabilityZones: {{ include "aws-availability-zones" (dict "mp" $value "Values" $.Values "Files" $.Files) | nindent 2 }}
subnets:
- filters:
Expand Down

0 comments on commit 20c376b

Please sign in to comment.