Skip to content

Commit

Permalink
add-machine-metadata (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvix authored Mar 3, 2022
1 parent 2359c0a commit 637294d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add labels to machine metadata to `AWSMachineTemplate` CRs.

## [0.1.3] - 2022-03-02

### Added
Expand Down
4 changes: 4 additions & 0 deletions helm/cluster-aws/templates/_bastion.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
template:
metadata:
labels:
cluster.x-k8s.io/role: bastion
{{- include "labels.common" $ | nindent 8 }}
spec:
additionalSecurityGroups:
- filters:
Expand Down
3 changes: 3 additions & 0 deletions helm/cluster-aws/templates/_control_plane.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ metadata:
namespace: {{ $.Release.Namespace }}
spec:
template:
metadata:
labels:
{{- include "labels.common" $ | nindent 8 }}
spec:
ami: {}
cloudInit: {}
Expand Down

0 comments on commit 637294d

Please sign in to comment.