Skip to content

Commit

Permalink
Migrate from kube-rbac-proxy to golang http server; update Operator w…
Browse files Browse the repository at this point in the history
…ith rerand from verify access to verify identity access; migrate operator sdk from v3 to v4
  • Loading branch information
lachlan-ibm committed Dec 18, 2024
1 parent f9459f1 commit 3109fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/controller/snapshotmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func (mgr *SnapshotMgr) serve(w http.ResponseWriter, r *http.Request) {
}
} else if strings.HasPrefix(r.URL.Path, "/snapshots/") {
basePath := filepath.Base(filepath.Clean(r.URL.Path))
hasValidPrefix := (strings.HasPrefix(basePath, "ivia_") || strings.HasPrefix(basePath, "isva_")
hasValidPrefix := (strings.HasPrefix(basePath, "ivia_") || strings.HasPrefix(basePath, "isva_"))
if r.URL.Path == "/snapshots/"+basePath &&
hasValidPrefix &&
strings.HasSuffix(basePath, ".snapshot") {
Expand Down

0 comments on commit 3109fb8

Please sign in to comment.