You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E1104 19:09:48.504599 1 main.go:132] error reconciling configmaps: error getting ConfigMaps from API: error parsing ConfigMap sidecar-test item test1 into injection config: e rror unmarshaling JSON: json: cannot unmarshal array into Go struct field Handler.exec of type v1.ExecAction
I guess we will have to add to InjectionConfig structure
Version Deets
Kubernetes Version: 1.15.3
k8s-sidecar-injector Version: Top of Tree.
The text was updated successfully, but these errors were encountered:
As a part of injection for sidecars I want to be able to call a preStop hook , so we can cleanup before exit.
ConfigMap Change.
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec: ["/bin/bash", "-c", "/opt/bin/prestop"]
E1104 19:09:48.504599 1 main.go:132] error reconciling configmaps: error getting ConfigMaps from API: error parsing ConfigMap sidecar-test item test1 into injection config: e rror unmarshaling JSON: json: cannot unmarshal array into Go struct field Handler.exec of type v1.ExecAction
I guess we will have to add to InjectionConfig structure
Version Deets
k8s-sidecar-injector
Version: Top of Tree.The text was updated successfully, but these errors were encountered: