Skip to content

Commit

Permalink
adding KubernetesCluster tag to ASG (#31)
Browse files Browse the repository at this point in the history
* adding KubernetesCluster tag to ASG

* Updated doc's cf Template
  • Loading branch information
vgunapati authored and eytan-avisror committed Aug 28, 2019
1 parent abf3532 commit 38da010
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/crd/bases/instance-manager-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ data:
- Key: !Sub 'kubernetes.io/cluster/${ClusterName}'
Value: 'owned'
PropagateAtLaunch: 'true'
- Key: KubernetesCluster
Value: !Ref ClusterName
PropagateAtLaunch: 'true'
{{$strategy := .Spec.AwsUpgradeStrategy.Type | ToLower}}
{{if (eq $strategy "rollingupdate")}}
UpdatePolicy:
Expand Down
3 changes: 3 additions & 0 deletions docs/04_instance-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,9 @@ data:
- Key: !Sub 'kubernetes.io/cluster/${ClusterName}'
Value: 'owned'
PropagateAtLaunch: 'true'
- Key: KubernetesCluster
Value: !Ref ClusterName
PropagateAtLaunch: 'true'
{{$strategy := .Spec.AwsUpgradeStrategy.Type | ToLower}}
{{if (eq $strategy "rollingupdate")}}
UpdatePolicy:
Expand Down

0 comments on commit 38da010

Please sign in to comment.