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
kubectl.kubernetes.io/last-applied-configuration is copied from OnePasswordItem to Secret by Kubernetes Operator.
What did you expect to happen?
The kubectl.kubernetes.io/last-applied-configuration only applies to the OnePasswordItem and should not be copied to the Secret.
Steps to reproduce
Add OnePasswordItem to git repo for the example-argocd-project. Git commit and push.
ArgoCD sees the new resource and creates it in the example namespace in the cluster
1Password Operator sees the new OnePasswordItem in the example namespace and creates the Secret in the same namespace. It copies all annotations from the OnePasswordItem including the kubectl.kubernetes.io/last-applied-configuration
This annotation has values that only apply to the OnePasswordItem and are garbage values on the Secret that is created.
@jpcoenen
Hi, this breaks my ability to use 1password with Kubed and ArgoCD. I can no longer add the kubed.appscode.com/sync or argocd.argoproj.io/compare-options: IgnoreExtraneous annotation. What is the reason for remove all annotations?
Your environment
Operator Version: 1password/onepassword-operator:1.4.0
Connect Server Version: 1password/connect-api:1.5.1
Kubernetes Version: v1.21.5-eks-bc4871b
1Password Operator version used:
What happened?
kubectl.kubernetes.io/last-applied-configuration
is copied fromOnePasswordItem
toSecret
by Kubernetes Operator.What did you expect to happen?
The
kubectl.kubernetes.io/last-applied-configuration
only applies to theOnePasswordItem
and should not be copied to theSecret
.Steps to reproduce
OnePasswordItem
to git repo for theexample-argocd-project
. Git commit and push.example
namespace in the clusterOnePasswordItem
in theexample
namespace and creates theSecret
in the same namespace. It copies all annotations from theOnePasswordItem
including thekubectl.kubernetes.io/last-applied-configuration
OnePasswordItem
and are garbage values on theSecret
that is created.Notes & Logs
The text was updated successfully, but these errors were encountered: