Skip to content

Commit d1fb205

Browse files
authored
Removing annotate-namespace for fleet resources (#544)
1 parent bdd2122 commit d1fb205

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

pkg/fixtures/workflows/github/kustomize/.github/workflows/azure-kubernetes-service-kustomize.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,5 @@ jobs:
176176
private-cluster: ${{ steps.isPrivate.outputs.PRIVATE_CLUSTER == 'true' }}
177177
namespace: ${{ env.NAMESPACE }}
178178
resource-type: ${{ env.CLUSTER_RESOURCE_TYPE }}
179+
annotate-namespace: ${{ env.CLUSTER_RESOURCE_TYPE != 'Microsoft.ContainerService/fleets' }}
179180

pkg/fixtures/workflows/github/manifests/.github/workflows/azure-kubernetes-service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,4 @@ jobs:
161161
private-cluster: ${{ steps.isPrivate.outputs.PRIVATE_CLUSTER == 'true' }}
162162
namespace: ${{ env.NAMESPACE }}
163163
resource-type: ${{ env.CLUSTER_RESOURCE_TYPE }}
164+
annotate-namespace: ${{ env.CLUSTER_RESOURCE_TYPE != 'Microsoft.ContainerService/fleets' }}

template/workflows/kustomize/.github/workflows/azure-kubernetes-service-kustomize.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,5 @@ jobs:
176176
private-cluster: ${{ steps.isPrivate.outputs.PRIVATE_CLUSTER == 'true' }}
177177
namespace: ${{ env.NAMESPACE }}
178178
resource-type: ${{ env.CLUSTER_RESOURCE_TYPE }}
179+
annotate-namespace: ${{ env.CLUSTER_RESOURCE_TYPE != 'Microsoft.ContainerService/fleets' }}
179180
`}}

template/workflows/manifests/.github/workflows/azure-kubernetes-service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,5 @@ jobs:
162162
private-cluster: ${{ steps.isPrivate.outputs.PRIVATE_CLUSTER == 'true' }}
163163
namespace: ${{ env.NAMESPACE }}
164164
resource-type: ${{ env.CLUSTER_RESOURCE_TYPE }}
165+
annotate-namespace: ${{ env.CLUSTER_RESOURCE_TYPE != 'Microsoft.ContainerService/fleets' }}
165166
`}}

0 commit comments

Comments
 (0)