mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator
MIT License
371 stars 146 forks source link

Fix dex affinity indentation #120

Closed kostyrev closed 4 years ago

kostyrev commented 4 years ago

currently indentation is off

+       affinity:
+       nodeAffinity:
+         requiredDuringSchedulingIgnoredDuringExecution:
+           nodeSelectorTerms:

that leads to

Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec.template.spec): unknown field "nodeAffinity" in io.k8s.api.core.v1.PodSpec
nabadger commented 4 years ago

Adding related #121