update
This commit is contained in:
parent
26f09715da
commit
d49e5507f1
@ -40,7 +40,7 @@ release:
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
script:
|
||||
- |
|
||||
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name CI_COMMIT_TAG \
|
||||
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
|
||||
--assets-link "{\"name\":\"${LINUX_AMD64_BINARY}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}\"}"
|
||||
|
||||
docker_deploy:
|
||||
@ -49,6 +49,7 @@ docker_deploy:
|
||||
name: bitnami/kubectl
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- kubectl run console-${POD_VERSION} --image=reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} --kubeconfig=.kube/config --certificate-authority=.kube/ca.pem
|
||||
# - kubectl run console-${POD_VERSION} --image=reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} --kubeconfig=.kube/config --certificate-authority=.kube/ca.pem
|
||||
- kubectl apply -f deploy.yaml
|
||||
tags:
|
||||
- cluster
|
12
deploy.yaml
Normal file
12
deploy.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: console
|
||||
labels:
|
||||
app: console
|
||||
sepc:
|
||||
containers:
|
||||
- name: console
|
||||
image: reg.sre.victor-core.top/cobalt-strike/console:1.3.0
|
||||
ports:
|
||||
- containerPort: 4444
|
Loading…
x
Reference in New Issue
Block a user