mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-09 23:42:21 -04:00
fixup! versions: add Kubernetes image patches to components
This commit is contained in:
parent
210090d34c
commit
1f6dbd1b7a
1 changed files with 8 additions and 2 deletions
|
@ -19,6 +19,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"golang.org/x/tools/go/ast/astutil"
|
"golang.org/x/tools/go/ast/astutil"
|
||||||
)
|
)
|
||||||
|
@ -147,8 +148,13 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("Generating hash for", url.Value.(*ast.BasicLit).Value)
|
urlValue := url.Value.(*ast.BasicLit).Value
|
||||||
hash.Value.(*ast.BasicLit).Value = mustGetHash(url.Value.(*ast.BasicLit).Value)
|
if strings.HasPrefix(urlValue, `"data:`) {
|
||||||
|
// TODO(burgerdev): support patch generation
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
fmt.Println("Generating hash for", urlValue)
|
||||||
|
hash.Value.(*ast.BasicLit).Value = mustGetHash(urlValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue