Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Getting false positive errors for validation... #606

Closed
cdrage opened this issue Feb 28, 2018 · 1 comment
Closed

Getting false positive errors for validation... #606

cdrage opened this issue Feb 28, 2018 · 1 comment
Assignees

Comments

@cdrage
Copy link
Collaborator

cdrage commented Feb 28, 2018

With my YAML file:

name: gitea                                                                                                                                                                           
                                                                                                                                                                                      
labels:
  app: gitea

deployments:
- name: gitea
  replicas: 1
  livenessProbe:
    httpGet:
      path: /
      port: 3000
    initialDelaySeconds: 200
    timeoutSeconds: 1
    periodSeconds: 10
    successThreshold: 1
    failureThreshold: 10
  readinessProbe:
    httpGet:
      path: /
      port: 3000
    initialDelaySeconds: 30
    timeoutSeconds: 1
    periodSeconds: 10
    successThreshold: 1
    failureThreshold: 3

secrets:
- data:
  postgresql-user: "Z2l0ZWE="

I'm getting false positive validation errors...

▶ ./kedge generate -f examples/gitea/gitea.yaml
2018/02/28 13:17:04 The kedgefile is not valid. see errors :
livenessProbe: Additional property livenessProbe is not allowed
readinessProbe: Additional property readinessProbe is not allowed
postgresql-user: Additional property postgresql-user is not allowed
secrets.0.data: Invalid type. Expected: object, given: null

ping @surajnarwade @kadel @containscafeine

@cdrage
Copy link
Collaborator Author

cdrage commented Feb 28, 2018

Nevermind, somehow I managed to delete the containers section...

@cdrage cdrage closed this as completed Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants