Closed snodnipper closed 4 years ago
@snodnipper The apiVersion extensions/v1beta1
has been deprecated as of 1.16+. We will update the api version in the manifest to apps/v1
. Thank you for opening the issue.
also, the spec for a DaemonSet now requires a spec.selector value which matches the metadata for the pod itself. Used to tell which pods were started by this Daemonset. So it should look like
...
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: keyvault-flexvolume
name: keyvault-flexvolume
namespace: kv
spec:
selector:
matchLabels:
app: keyvault-flexvolume
updateStrategy:
type: RollingUpdate
template:
...
I would open a PR, but I'm not sure how you deal with backwards compatibility for this kind of breaking change.
Thanks @ohthehugemanatee! PRs are welcome! 👏 We should move to the new api version as the k8s versions we support should work with newer api versions too.
Thanks for clarifying, here you go!
Describe the bug When using 1.17.0 AKS I encountered the following error. Returning to 1.15.5 worked fine.
Key Vault FlexVolume version keyvault-flexvolume:v0.0.15
Kubernetes version 1.17.0