Skip to content

Commit

Permalink
Put label on AWSMachinePool to trigger immediate reconciliation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDog committed Jan 14, 2025
1 parent db728b0 commit 86d3665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions helm/cluster-aws/templates/_aws_cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ metadata:
labels:
{{- include "labels.common" $ | nindent 4 }}
{{- include "preventDeletionLabel" $ | nindent 4 -}}
{{- if (required "global.providerSpecific.reducedInstanceProfileIamPermissionsForWorkers is required" .Values.global.providerSpecific.reducedInstanceProfileIamPermissionsForWorkers) }}
alpha.aws.giantswarm.io/reduced-instance-profile-iam-permissions/workers: "true"
{{- end }}
app.kubernetes.io/version: {{ .Chart.Version | quote }}
name: {{ include "resource.default.name" $ }}
namespace: {{ .Release.Namespace }}
Expand Down
3 changes: 3 additions & 0 deletions helm/cluster-aws/templates/_machine_pools.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
labels:
giantswarm.io/machine-pool: {{ include "resource.default.name" $ }}-{{ $name }}
{{- include "labels.common" $ | nindent 4 }}
{{- if (required "global.providerSpecific.reducedInstanceProfileIamPermissionsForWorkers is required" $.Values.global.providerSpecific.reducedInstanceProfileIamPermissionsForWorkers) }}
alpha.aws.giantswarm.io/reduced-instance-profile-iam-permissions/workers: "true"
{{- end }}
app.kubernetes.io/version: {{ $.Chart.Version | quote }}
name: {{ include "resource.default.name" $ }}-{{ $name }}
namespace: {{ $.Release.Namespace }}
Expand Down

0 comments on commit 86d3665

Please sign in to comment.