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:
|
||||
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
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: drone-secrets
|
|
@ -46,4 +46,8 @@ spec:
|
|||
- secretKey: DRONE_DATABASE_DATASOURCE
|
||||
remoteRef:
|
||||
key: k8s/drone
|
||||
property: drone-db-url
|
||||
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