Fix drone, update nginx
This commit is contained in:
parent
5d86ea92ac
commit
819fbcc226
|
@ -20,21 +20,6 @@ spec:
|
|||
image: drone/drone-runner-kube:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
- name: DRONE_RPC_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: drone-secrets
|
||||
key: drone-rpc-secret
|
||||
- name: DRONE_RPC_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: drone-secrets
|
||||
key: drone-server-host
|
||||
- name: DRONE_RPC_PROTO
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: drone-secrets
|
||||
key: drone-server-proto
|
||||
- name: DRONE_NAMESPACE_DEFAULT
|
||||
value: drone
|
|
@ -47,3 +47,7 @@ spec:
|
|||
remoteRef:
|
||||
key: k8s/drone
|
||||
property: drone-db-url
|
||||
- secretKey: DRONE_NAMESPACE_DEFAULT
|
||||
remoteRef:
|
||||
key: k8s/drone
|
||||
property: namespace
|
|
@ -89,12 +89,9 @@ in {
|
|||
virtualHosts."galerie.asraphiel.dev" = k8sProxy;
|
||||
virtualHosts."staging.galerievanslagmaat.nl" = k8sProxy;
|
||||
virtualHosts."galerie-staging.asraphiel.dev" = k8sProxy;
|
||||
virtualHosts."www.galerievanslagmaat.nl" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
http2 = true;
|
||||
globalRedirect = "galerievanslagmaat.nl";
|
||||
};
|
||||
virtualHosts."www.galerievanslagmaat.nl" = redirect "galerievanslagmaat.nl";
|
||||
virtualHosts."galeriewoerden.nl" = redirect "galerievanslagmaat.nl";
|
||||
virtualHosts."www.galeriewoerden.nl" = redirect "galerievanslagmaat.nl";
|
||||
};
|
||||
|
||||
services.prometheus.exporters.nginx.enable = true;
|
||||
|
|
Loading…
Reference in a new issue