kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

Support existing resources without annotations #108

Closed captncraig closed 5 years ago

captncraig commented 5 years ago

I get a failure in the case where I am applying a stack that has a resource in it that

Pharos errors in such a case with ERROR: NoMethodError : undefined method[]' for nil:NilClass`

This change will allow pharos to begin managing such a resource even though the checksum does not exist at first.

jakolehm commented 5 years ago

Rubocop is not happy.

jakolehm commented 5 years ago

@captncraig could you fix the rubocop error? (see https://travis-ci.com/kontena/k8s-client/jobs/178815291#L865)

jakolehm commented 5 years ago

Similar fix: #130