oneuptime/ci
2020-03-27 18:27:38 +01:00
..
credentials Refactor CI scripts. 2020-03-27 18:27:38 +01:00
init-script Refactor CI scripts. 2020-03-27 18:27:38 +01:00
scripts Refactor CI scripts. 2020-03-27 18:27:38 +01:00
production.yaml Refactor CI scripts. 2020-03-27 18:27:38 +01:00
README.md Refactor CI scripts. 2020-03-27 18:27:38 +01:00
staging.yaml Refactor CI scripts. 2020-03-27 18:27:38 +01:00
test.yaml Refactor CI scripts. 2020-03-27 18:27:38 +01:00
values-saas-production.yaml Refactor CI scripts. 2020-03-27 18:27:38 +01:00
values-saas-staging.yaml Refactor CI scripts. 2020-03-27 18:27:38 +01:00

Setup Production Server

Run the production.yml file.

run the file specific to the project with their specific names. kubectl create -f production.yml

Known Issues

Issue 1

Sometimes you'll see this error

$ kubectl create -f staging.yaml
error: SchemaError(io.k8s.api.apps.v1beta2.DeploymentCondition): invalid object doesn't have additional properties

Solution:

Run the kubectl command with validate false

$ kubectl create -f staging.yaml --validate=false