Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix(k8s): use nginx ingress class
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed May 26, 2020
1 parent 36902e5 commit caff4b5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .k8s/environments/_base/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
import gitlab from "@socialgouv/kosko-charts/environments/gitlab";
import { merge } from "@socialgouv/kosko-charts/utils/merge";
import { GlobalEnvironment } from "@socialgouv/kosko-charts/types";

export default gitlab(process.env);
export default merge(gitlab(process.env), {
ingress: {
annotations: {
"appgw.ingress.kubernetes.io/ssl-redirect": undefined,
"certmanager.k8s.io/cluster-issuer": "letsencrypt-prod",
"kubernetes.io/ingress.class": "nginx",
"kubernetes.io/tls-acme": "true",
}
}
} as Partial<GlobalEnvironment>);

0 comments on commit caff4b5

Please sign in to comment.