Skip to content

Update/Delete is not working on namespaceAnnotations/namespaceLabels as targetCustomizations #3064

@sbulage

Description

@sbulage

Below Steps Performed

  • Below GitRepo used to reproduce this issue.
  • Created a GitRepo using fleet.yaml which contains namespaceLabels and namespaceAnnotations present under targetCustomization.
  • Waited for application to be created in the specified cluster(targetCustomized).
  • Observed that resources are created under the custom namespace mentioned in the targetCustomization.
  • Later saw that namespaceLabels and namespaceAnnotations are also added to newly created namespace.
  • Update or Delete operation on either namespaceLabel or namespaceAnnotations or both, it will not reflect on target customized namespace.
GitRepo Used
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  name: test-ns-annot
  namespace: fleet-default
spec:
  branch: main
  paths:
    - target-customization
  repo: https://github.com/sbulage/test-fleet
  targets:
    - clusterName: imported-0
Screenshot showing namespaceLables/namespaceAnnotation

image

Originally posted by @sbulage in #2441 (comment)

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions