pull file
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
This commit is contained in:
13
krew/pkg/resources/asset.go
Normal file
13
krew/pkg/resources/asset.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package resources
|
||||
|
||||
import (
|
||||
"embed"
|
||||
)
|
||||
|
||||
//go:embed *
|
||||
var fs embed.FS
|
||||
|
||||
// GetStaticResources returns the fs with the embedded assets
|
||||
func GetStaticResources() embed.FS {
|
||||
return fs
|
||||
}
|
||||
26
krew/pkg/resources/base/bilibiliPro/deployment.yaml
Normal file
26
krew/pkg/resources/base/bilibiliPro/deployment.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bilibilipro
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bilibilipro
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bilibilipro
|
||||
spec:
|
||||
containers:
|
||||
- name: bilibilipro
|
||||
image: zai7lou/bilibili_tool_pro:2.0.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 80m
|
||||
memory: 100M
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 120M
|
||||
|
||||
|
||||
5
krew/pkg/resources/base/ns/namespace.yaml
Normal file
5
krew/pkg/resources/base/ns/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: bilipro
|
||||
Reference in New Issue
Block a user