Fix drone, update nginx
This commit is contained in:
parent
5d86ea92ac
commit
819fbcc226
|
@ -20,21 +20,6 @@ spec:
|
||||||
image: drone/drone-runner-kube:latest
|
image: drone/drone-runner-kube:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
env:
|
envFrom:
|
||||||
- name: DRONE_RPC_SECRET
|
- secretRef:
|
||||||
valueFrom:
|
name: drone-secrets
|
||||||
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
|
|
|
@ -46,4 +46,8 @@ spec:
|
||||||
- secretKey: DRONE_DATABASE_DATASOURCE
|
- secretKey: DRONE_DATABASE_DATASOURCE
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: k8s/drone
|
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."galerie.asraphiel.dev" = k8sProxy;
|
||||||
virtualHosts."staging.galerievanslagmaat.nl" = k8sProxy;
|
virtualHosts."staging.galerievanslagmaat.nl" = k8sProxy;
|
||||||
virtualHosts."galerie-staging.asraphiel.dev" = k8sProxy;
|
virtualHosts."galerie-staging.asraphiel.dev" = k8sProxy;
|
||||||
virtualHosts."www.galerievanslagmaat.nl" = {
|
virtualHosts."www.galerievanslagmaat.nl" = redirect "galerievanslagmaat.nl";
|
||||||
forceSSL = true;
|
virtualHosts."galeriewoerden.nl" = redirect "galerievanslagmaat.nl";
|
||||||
enableACME = true;
|
virtualHosts."www.galeriewoerden.nl" = redirect "galerievanslagmaat.nl";
|
||||||
http2 = true;
|
|
||||||
globalRedirect = "galerievanslagmaat.nl";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.prometheus.exporters.nginx.enable = true;
|
services.prometheus.exporters.nginx.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue