Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
K
k3s
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jacklull
  • k3s
  • Repository

Switch branch/tag
  • k3s
  • pkg
  • deploy
  • controller.go
Find file
BlameHistoryPermalink
  • Donnie Adams's avatar
    Remove objects when removed from manifests (#5560) · 3be8dda8
    Donnie Adams authored May 18, 2022
    * Remove objects when removed from manifests
    
    If a user puts a file in /var/lib/rancher/k3s/server/manifests/ then the
    objects contained therein are deployed to the cluster. If the objects
    are removed from that file, they are not removed from the cluster.
    
    This change tracks the GVKs in the files and will remove objects when
    there are removed from the cluster.
    Signed-off-by: 's avatarDonnie Adams <donnie.adams@suse.com>
    (cherry picked from commit c38a8c3b)
    Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
    3be8dda8
controller.go 12.3 KB
EditWeb IDE

Replace controller.go

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.