This commit is contained in:
parent
0f0ddcf395
commit
aa503373b8
27
.drone.yml
27
.drone.yml
@ -1,27 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: ssr-deploy
|
||||
|
||||
steps:
|
||||
- name: Build Docker Image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: fascinated/ssr
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_token
|
||||
tags:
|
||||
- latest
|
||||
|
||||
- name: Deploy to Kubernetes
|
||||
image: quay.io/honestbee/drone-kubernetes
|
||||
settings:
|
||||
kubernetes_server: https://10.0.69.162:6443
|
||||
kubernetes_token:
|
||||
from_secret: kubernetes_token
|
||||
namespace: public-services
|
||||
deployment: ssr
|
||||
repo: fascinated/ssr
|
||||
tag: latest
|
@ -1,22 +0,0 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: ssr-staging-ingress
|
||||
namespace: public-services
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik-external
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`ssr-staging.fascinated.cc`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: ssr
|
||||
port: 80
|
||||
tls:
|
||||
secretName: fascinated-cc
|
Reference in New Issue
Block a user