Skip to content

Commit

Permalink
🚧 Remove static configuration for static website or jamstack (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakayolo authored Mar 21, 2021
1 parent 18947cc commit 1d16fbf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions images/kinto-deploy/internal/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ func ConvertKintoCoreReleaseToKDRelease(
if kintoCoreRelease.RunConfig.Type == kintoCoretypes.Block_STATIC_SITE ||
kintoCoreRelease.RunConfig.Type == kintoCoretypes.Block_JAMSTACK {

deployRelease.Replicas = 2 // HA because running on preemptible nodes
deployRelease.Cpu = "" // no reserved cpu
deployRelease.Memory = "" // no reserved memory
deployRelease.Port = 80 // nginx port
deployRelease.Port = 80 // nginx port

// we append the kinto `host` (*.kinto.io) and all the `customDomains`
deployRelease.Hosts = append(deployRelease.Hosts, kintoCoreRelease.RunConfig.Host)
Expand Down

0 comments on commit 1d16fbf

Please sign in to comment.