Skip to content

Commit

Permalink
feat: set ovh as default env
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed May 6, 2024
1 parent 6b3792d commit 2d425ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 55 deletions.
41 changes: 0 additions & 41 deletions plugins/fabrique/extends/ovh.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +0,0 @@
config:
kubeconfigContext: ovh
provider: ovh

valuesCompilers:
globalDefaults:
options:
devDomain: ovh.fabrique.social.gouv.fr
patches:
setUndefinedStorageClassname:
options:
defaultStorageClassName: ""
setUndefinedStorageClassnameCnpg:
options:
defaultStorageClassName: csi-cinder-high-speed

dependencies:
contrib:
validators:
sealedSecrets:
options:
clusters:
dev:
kubesealEndpoint: "https://kubeseal.ovh.fabrique.social.gouv.fr"
prod:
kubesealEndpoint: "https://kubeseal.ovh-prod.fabrique.social.gouv.fr"
patches:
certs:
options:
wildcardHost: ".ovh.fabrique.social.gouv.fr"

defaultMinResourcesRequests:
options:
avoidOutOfpods: true
avoidOutOfpodsMargin:
cpu: 10m
memory: 10Mi
nodeConfig:
maxPods: 110
cpu: 7820m
memory: 27717Mi
31 changes: 17 additions & 14 deletions plugins/fabrique/kontinuous.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
patches:
setUndefinedStorageClassname:
options:
defaultStorageClassName: "azurefile"
defaultStorageClassName: ""
setUndefinedStorageClassnameCnpg:
options:
defaultStorageClassName: "managed-csi"
defaultStorageClassName: sc-hspeed-gen2-delete

dependencies:
contrib:
Expand All @@ -24,7 +24,7 @@ dependencies:
certs:
enabled: true
options:
wildcardHost: ".dev.fabrique.social.gouv.fr"
wildcardHost: ".ovh.fabrique.social.gouv.fr"
internalHosts:
- ".fabrique.social.gouv.fr"
- ".beta.gouv.fr"
Expand All @@ -48,7 +48,7 @@ dependencies:
cpu: 10m
memory: 10Mi
nodeConfig:
maxPods: 250
maxPods: 110
cpu: 7820m
memory: 27717Mi
defaultMaxResourcesLimits:
Expand Down Expand Up @@ -86,6 +86,12 @@ dependencies:
enabled: true
sealedSecrets:
enabled: true
options:
clusters:
dev:
kubesealEndpoint: "https://kubeseal.ovh.fabrique.social.gouv.fr"
prod:
kubesealEndpoint: "https://kubeseal.ovh-prod.fabrique.social.gouv.fr"
kubeconform:
options:
kubeVersion: null
Expand Down Expand Up @@ -165,20 +171,17 @@ dependencies:

config:
webhookUri: https://kontinuous.fabrique.social.gouv.fr
kubeconfigContext: ovh

options:
kubernetesMethod: kubeconfig
surviveOnBrokenCluster: true
clusters:
dev:
kubesealEndpoint: "https://kubeseal.dev2.fabrique.social.gouv.fr"
environments:
- dev
- preprod
prod:
kubesealEndpoint: "https://kubeseal.prod2.fabrique.social.gouv.fr"
environments:
- prod


registry: "harbor.fabrique.social.gouv.fr"
domain: "fabrique.social.gouv.fr"

valuesCompilers:
globalDefaults:
options:
devDomain: ovh.fabrique.social.gouv.fr

0 comments on commit 2d425ce

Please sign in to comment.