![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
golang
awangyuk
java程序员
展开
-
MutatingWebhookConfiguration升级
1.GitHub - caesarxuchao/example-webhook-admission-controller: An example of Kubernetes wehbook admission extensionAn example of Kubernetes wehbook admission extension - GitHub - caesarxuchao/example-webhook-admission-controller: An example of Kubernetes we原创 2021-09-27 17:17:48 · 920 阅读 · 0 评论 -
beego跨域
beego.InsertFilter("*", beego.BeforeRouter, cors.Allow(&cors.Options{ AllowAllOrigins: true, AllowOrigins: []string{"*"}, AllowMethods: []string{"*"}, AllowHeaders: []string{"MyTokenHeader","Origin", "Authorization", "Access-Control-Allow-Orig.原创 2021-07-14 13:43:26 · 300 阅读 · 0 评论 -
go-makefile
.DEFAULT_GOAL := docker-image IMAGE ?= registry.cn-hangzhou.aliyuncs.com/----------/cicdapi:v1 image/app: $(shell find . -name '*.go') CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o $@ ./ .PHONY: docker-image docker-image: image/app .原创 2021-06-28 10:17:47 · 76 阅读 · 0 评论