Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stash chart is throwing error #627

Closed
tamalsaha opened this issue Dec 8, 2018 · 5 comments
Closed

Stash chart is throwing error #627

tamalsaha opened this issue Dec 8, 2018 · 5 comments
Assignees
Labels

Comments

@tamalsaha
Copy link
Member

I1208 01:15:06.192340       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
I1208 01:15:06.192362       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/tiller-deploy
E1208 01:15:06.192431       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
I1208 01:15:06.192717       1 worker.go:80] Error syncing key default/test-repository-for-webhook-xray: stat /tmp/test: no such file or directory
I1208 01:15:06.192840       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/coredns-78fcdf6894
I1208 01:15:06.193053       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/stash-operator
I1208 01:15:06.193175       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/coredns
I1208 01:15:06.193329       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/kubernetes-dashboard
I1208 01:15:06.193336       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/coredns-99b9bb8bd
I1208 01:15:06.193381       1 daemonsets.go:69] Sync/Add/Update for DaemonSet kube-system/kube-proxy
I1208 01:15:06.198776       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
E1208 01:15:06.198831       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
I1208 01:15:06.198843       1 worker.go:80] Error syncing key default/test-repository-for-webhook-xray: stat /tmp/test: no such file or directory
I1208 01:15:06.202379       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/kubernetes-dashboard-7db4dc666b
I1208 01:15:06.205903       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/tiller-deploy-57f988f854
I1208 01:15:06.208272       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/stash-operator-f44858b4b
I1208 01:15:06.209360       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
E1208 01:15:06.209403       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
I1208 01:15:06.209515       1 worker.go:80] Error syncing key default/test-repository-for-webhook-xray: stat /tmp/test: no such file or directory
I1208 01:15:06.229845       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
E1208 01:15:06.229914       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
I1208 01:15:06.229929       1 worker.go:80] Error syncing key default/test-repository-for-webhook-xray: stat /tmp/test: no such file or directory
I1208 01:15:06.271245       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
E1208 01:15:06.271624       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
I1208 01:15:06.271686       1 worker.go:80] Error syncing key default/test-repository-for-webhook-xray: stat /tmp/test: no such file or directory
I1208 01:15:06.355701       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
E1208 01:15:06.355767       1 worker.go:76] Failed to process key default/test-repository-for-webhook-xray. Reason: stat /tmp/test: no such file or directory
E1208 01:15:06.355784       1 worker.go:90] stat /tmp/test: no such file or directory
I1208 01:15:06.355791       1 worker.go:91] Dropping key "default/test-repository-for-webhook-xray" out of the queue: stat /tmp/test: no such file or directory
I1208 01:15:09.863891       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/stash-operator
I1208 01:15:09.866543       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/stash-operator-f44858b4b
I1208 01:15:10.941414       1 xray.go:221] testing ValidatingWebhook using an object with GVR = stash.appscode.com/v1alpha1, Resource=repositories
W1208 01:15:10.951344       1 xray.go:147] Attempt 1 to detect ValidatingWebhook activation failed due to object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists
I1208 01:15:10.967053       1 recorder.go:82] Event created: stash-operator.156e368f36bde1e4
panic: object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists

goroutine 280 [running]:
github.com/appscode/stash/pkg/server.completedConfig.New.func2.1(0xc00064e240, 0xc00044e200, 0xc0006368c0, 0xc00026c3c0)
	/go/src/github.com/appscode/stash/pkg/server/server.go:227 +0x6a6
created by github.com/appscode/stash/pkg/server.completedConfig.New.func2
	/go/src/github.com/appscode/stash/pkg/server/server.go:188 +0x5b



----------------

LAST SEEN   FIRST SEEN   COUNT   NAME                                                     KIND         SUBOBJECT                                  TYPE      REASON                         SOURCE                    MESSAGE
8m          8m           1       stash-operator-f44858b4b-mcdtp.156e365768d2c818          Pod          spec.containers{pushgateway}               Normal    Pulled                         kubelet, minikube         Successfully pulled image "prom/pushgateway:v0.5.2"
8m          8m           1       stash-operator-f44858b4b-mcdtp.156e36599edfd082          Pod          spec.containers{operator}                  Warning   Unhealthy                      kubelet, minikube         Readiness probe failed: Get https://172.17.0.3:8443/healthz: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
7m          7m           1       stash-operator.156e365c05dcf478                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
7m          7m           1       stash-operator.156e365e52e58c35                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
7m          7m           1       stash-operator.156e3662fe238071                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
6m          8m           4       stash-operator-f44858b4b-mcdtp.156e365632d56e6e          Pod          spec.containers{operator}                  Normal    Created                        kubelet, minikube         Created container
6m          8m           4       stash-operator-f44858b4b-mcdtp.156e365641cb843e          Pod          spec.containers{operator}                  Normal    Started                        kubelet, minikube         Started container
6m          6m           1       stash-operator.156e366c4c83fb00                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists
6m          7m           4       stash-operator-f44858b4b-mcdtp.156e365c56a960f5          Pod          spec.containers{operator}                  Normal    Pulled                         kubelet, minikube         Container image "appscode/stash:0.8.0" already present on machine
5m          5m           1       stash-operator.156e3677f1322a79                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists
4m          4m           1       stash-operator.156e368f36bde1e4                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists
3m          7m           18      stash-operator-f44858b4b-mcdtp.156e365e7d2771e8          Pod          spec.containers{operator}                  Warning   BackOff                        kubelet, minikube         Back-off restarting failed container
1m          1m           1       stash-operator.156e36b6cb902cb8                          Deployment                                              Warning   AdmissionWebhookNotActivated   stash-operator            object is being deleted: repositories.stash.appscode.com "test-repository-for-webhook-xray" already exists

@tamalsaha tamalsaha self-assigned this Dec 8, 2018
@tamalsaha
Copy link
Member Author

I1208 20:22:00.642220       1 run.go:25] Starting operator version 0.8.0+d9d7f1d4e2c41e10953680779f899e95f29b194f ...
I1208 20:22:01.120453       1 audit.go:277] No audit policy file provided for AdvancedAuditing, no events will be recorded.
I1208 20:22:04.372719       1 reflector.go:131] Starting reflector *v1beta1.MutatingWebhookConfiguration (0s) from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.372765       1 reflector.go:169] Listing and watching *v1beta1.MutatingWebhookConfiguration from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.384781       1 reflector.go:131] Starting reflector *v1beta1.ValidatingWebhookConfiguration (0s) from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.384842       1 reflector.go:169] Listing and watching *v1beta1.ValidatingWebhookConfiguration from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.420082       1 reflector.go:131] Starting reflector *v1beta1.ValidatingWebhookConfiguration (0s) from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.420138       1 reflector.go:169] Listing and watching *v1beta1.ValidatingWebhookConfiguration from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.425508       1 controller.go:116] Starting Stash controller
I1208 20:22:04.430816       1 reflector.go:131] Starting reflector *v1beta1.MutatingWebhookConfiguration (0s) from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.430921       1 reflector.go:169] Listing and watching *v1beta1.MutatingWebhookConfiguration from k8s.io/client-go/tools/watch/informerwatcher.go:110
I1208 20:22:04.433254       1 reflector.go:131] Starting reflector *v1.Namespace (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.433325       1 reflector.go:169] Listing and watching *v1.Namespace from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.433867       1 reflector.go:131] Starting reflector *v1.Deployment (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.433885       1 reflector.go:169] Listing and watching *v1.Deployment from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.437276       1 reflector.go:131] Starting reflector *v1.DaemonSet (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.437326       1 reflector.go:169] Listing and watching *v1.DaemonSet from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.438436       1 reflector.go:131] Starting reflector *v1.StatefulSet (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.438455       1 reflector.go:169] Listing and watching *v1.StatefulSet from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.438767       1 reflector.go:131] Starting reflector *v1.ReplicationController (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.438782       1 reflector.go:169] Listing and watching *v1.ReplicationController from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.439081       1 reflector.go:131] Starting reflector *v1.ReplicaSet (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.439111       1 reflector.go:169] Listing and watching *v1.ReplicaSet from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.441694       1 reflector.go:131] Starting reflector *v1.Job (10m0s) from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.441712       1 reflector.go:169] Listing and watching *v1.Job from k8s.io/client-go/informers/factory.go:131
I1208 20:22:04.442200       1 reflector.go:131] Starting reflector *v1alpha1.Restic (10m0s) from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.442216       1 reflector.go:169] Listing and watching *v1alpha1.Restic from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.442537       1 reflector.go:131] Starting reflector *v1alpha1.Recovery (10m0s) from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.442553       1 reflector.go:169] Listing and watching *v1alpha1.Recovery from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.442854       1 reflector.go:131] Starting reflector *v1alpha1.Repository (10m0s) from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.442867       1 reflector.go:169] Listing and watching *v1alpha1.Repository from github.com/appscode/stash/client/informers/externalversions/factory.go:117
I1208 20:22:04.629972       1 secure_serving.go:116] Serving securely on [::]:8443
I1208 20:22:05.460617       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/coredns
I1208 20:22:05.460867       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/kubernetes-dashboard
I1208 20:22:05.461737       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/tiller-deploy
I1208 20:22:05.462017       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/stash-operator
I1208 20:22:05.462966       1 daemonsets.go:69] Sync/Add/Update for DaemonSet kube-system/kube-proxy
I1208 20:22:05.463127       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/stash-operator-f44858b4b
I1208 20:22:05.463377       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/coredns-78fcdf6894
I1208 20:22:05.499731       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/coredns-99b9bb8bd
I1208 20:22:05.506818       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/kubernetes-dashboard-7db4dc666b
I1208 20:22:05.513534       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/tiller-deploy-6d7964547c
I1208 20:22:07.571938       1 deployment.go:78] Sync/Add/Update for Deployment kube-system/stash-operator
I1208 20:22:07.577347       1 replicasets.go:78] Sync/Add/Update for ReplicaSet kube-system/stash-operator-f44858b4b
I1208 20:22:08.597806       1 xray.go:221] testing ValidatingWebhook using an object with GVR = stash.appscode.com/v1alpha1, Resource=repositories
I1208 20:22:08.612054       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
I1208 20:22:08.615688       1 repository.go:58] Patching Repository default/test-repository-for-webhook-xray with {"metadata":{"finalizers":["stash"]}}.
I1208 20:22:08.623974       1 repository.go:58] Sync/Add/Update for Repository default/test-repository-for-webhook-xray
W1208 20:22:08.631150       1 repository.go:56] Repository default/test-repository-for-webhook-xray does not exist anymore
W1208 20:22:08.631642       1 xray.go:147] Attempt 1 to detect ValidatingWebhook activation failed due to Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
I1208 20:22:08.671777       1 recorder.go:82] Event created: stash-operator.156e7526156360fa
panic: Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks

goroutine 263 [running]:
github.com/appscode/stash/pkg/server.completedConfig.New.func2.1(0xc000888ba0, 0xc000318100, 0xc000024540, 0xc000096960)
	/go/src/github.com/appscode/stash/pkg/server/server.go:227 +0x6a6
created by github.com/appscode/stash/pkg/server.completedConfig.New.func2
	/go/src/github.com/appscode/stash/pkg/server/server.go:188 +0x5b
^C⏎                                                                                                                                                                                                         ~/g/s/g/a/stash (master) $ kubectl get apiservice | grep stash
v1alpha1.admission.stash.appscode.com      2018-12-08T20:21:30Z
v1alpha1.repositories.stash.appscode.com   2018-12-08T20:21:30Z
v1alpha1.stash.appscode.com                2018-12-08T20:21:44Z
~/g/s/g/a/stash (master) $ kubectl get apiservice v1alpha1.admission.stash.appscode.com -o yaml
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
  annotations:
    admission-webhook.appscode.com/active: "false"
    admission-webhook.appscode.com/status: '|Admission webhooks are not activated.
      Enable it by configuring --enable-admission-plugins flag of kube-apiserver.
      For details, visit: https://appsco.de/kube-apiserver-webhooks'
  creationTimestamp: 2018-12-08T20:21:30Z
  labels:
    app: stash
    chart: stash-0.8.0
    heritage: Tiller
    release: stash-operator
  name: v1alpha1.admission.stash.appscode.com
  resourceVersion: "2207"
  selfLink: /apis/apiregistration.k8s.io/v1/apiservices/v1alpha1.admission.stash.appscode.com
  uid: d9460108-fb26-11e8-864d-0800274d78cd
spec:
  caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lSQUxEeG1iUXZ1ZVhCMVVaNEloZjJQZWN3RFFZSktvWklodmNOQVFFTEJRQXcKRFRFTE1Ba0dBMVVFQXhNQ1kyRXdIaGNOTVRneE1qQTRNakF5TVRJNFdoY05Namd4TWpBMU1qQXlNVEk0V2pBTgpNUXN3Q1FZRFZRUURFd0pqWVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFNTCnFhMXBrL2NzbEFmQVZzbkNKUnBOVlIwL2pFSzVGMXNaSW52dWs1ZlFKWXUzdW9xRlF3b3NoUWRMUDdVamx6aSsKOUdDQXBBK3E2OFlETGNWNW8yN1czSVVWQi9UK09FZHI1dWxoRXRzdERmZ2wzWDllZWZYVmwyRXo1ZXo3eCtJcwo1ai91MWQ5Q2MvOVJmN3laSFhNME5mMVRuZUpQWURwYksxS212YnZhbzlxVVRVc2tNN2xiZ1B5UHNGZWF2OC9ECjN3VXByT0ZvbllrTzJ5VldjNWpiR0lQaDR5b0oyY3BUaWFBa1R2ZWVudkRxOVVKL2ZqL2VCS3Z1QUwrNktJa2kKVy90bnpwMnB6a3BPamFpTG1TNG40czlkZGVIUGlBVFVkblg4emRXanh0S09TVis4WmwyMHd6NjlMSGhWbWFSQQpFR0V0a1lPWDJlYVZxcTd2OUxFQ0F3RUFBYU5DTUVBd0RnWURWUjBQQVFIL0JBUURBZ0trTUIwR0ExVWRKUVFXCk1CUUdDQ3NHQVFVRkJ3TUJCZ2dyQmdFRkJRY0RBakFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQTBHQ1NxR1NJYjMKRFFFQkN3VUFBNElCQVFDd3FJYW03M3p6dm5UTm5aclhZcWhOY3A1RVlGMGlUdGRiWjNtRjhhRkR0Q0NXRUo2SAp0dW1UaVdlZzJjTVZCOHBraUFjZ2JuRU1OcVRjY0NUeUVRK3ZZdldCeG5UWnVKNlVrNFArdjlKM1lQT1dRaEtqCk05ZzcvQmluejNEaWZEd2RXV09nQkFxbk8raGlnWFYrdDl3eFRCZWhsTVFSajlPZFlYQ0tkeEVadGt4R01RYVEKeXRQVTMvcEcyUU1qbzFmUzdFcE1XZXhjYmg1dlY1N2M2R09YQTQ4ZWowdUt2UitWOEluSExmcmhVVEpFc1hYbQo1Q3grNzA3eDJBd1MwRWVxNlZBM2trdmtUUVU5Qy9CdExyTGJuYy8wN3hjRmdCd25IWlVGNk9ZRjlxN0ZCOFR4CkpTR0F0UWNnNlVTNHRid0JpR3dKZ0VGUWlLOTJIc3Z5emk4eQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
  group: admission.stash.appscode.com
  groupPriorityMinimum: 10000
  service:
    name: stash-operator
    namespace: kube-system
  version: v1alpha1
  versionPriority: 15
status:
  conditions:
  - lastTransitionTime: 2018-12-08T20:22:09Z
    message: endpoints for service/stash-operator in "kube-system" have no addresses
    reason: MissingEndpoints
    status: "False"
    type: Available

@dnetguru
Copy link

dnetguru commented Dec 9, 2018

Running into the same issue! I've been using v0.7 for a while with no problems but I tried upgrading the chart to 0.8 and here's what I'm getting:

# kubectl get pods -n backup-system
NAME                              READY   STATUS             RESTARTS   AGE
stash-operator-574b4c4955-4q47m   2/2     Running            0          9m6s
stash-operator-78769c479f-wc5cc   1/2     CrashLoopBackOff   5          5m58s

Taking a look at the logs we see that its complaining about admission webhooks not being enabled (even though they are and the previous version is running just fine at the same time)

# kubectl logs -n backup-system stash-operator-78769c479f-wc5cc operator | tail -n 10
W1209 02:21:39.277383       1 xray.go:147] Attempt 1 to detect ValidatingWebhook activation failed due to Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
W1209 02:21:39.277644       1 repository.go:56] Repository default/test-repository-for-webhook-xray does not exist anymore
I1209 02:21:39.291250       1 recorder.go:82] Event created: stash-operator.156e88c462cbb7d0
panic: Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks

goroutine 293 [running]:
github.com/appscode/stash/pkg/server.completedConfig.New.func2.1(0xc00075e1e0, 0xc00044a080, 0xc000814000, 0xc0000ba4e0)
        /go/src/github.com/appscode/stash/pkg/server/server.go:227 +0x6a6
created by github.com/appscode/stash/pkg/server.completedConfig.New.func2
        /go/src/github.com/appscode/stash/pkg/server/server.go:188 +0x5b

Double checking the admission plugins:

# kubectl get pod -n kube-system kube-apiserver-dc0node -o yaml | grep enable-admission
    - --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeClaimResize,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,Priority

I also tried --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota per documentation on admission controllers with no luck.

I also tried purging the whole chart installation and installing 0.8 but ran into the same problem.

tamalsaha added a commit that referenced this issue Dec 9, 2018
Fixes #627

Signed-off-by: Tamal Saha <[email protected]>
tamalsaha added a commit that referenced this issue Dec 9, 2018
tamalsaha added a commit that referenced this issue Dec 9, 2018
@tamalsaha tamalsaha added the bug label Dec 9, 2018
@tamalsaha
Copy link
Member Author

@dnetguru, please try 0.8.1 . This issue should be fixed.

@dnetguru
Copy link

dnetguru commented Dec 9, 2018

Thanks, I can confirm that 0.8.1 fixes this problem.

tamalsaha added a commit to stashed/apimachinery that referenced this issue Feb 16, 2020
@davidmkrtchian
Copy link

@tamalsaha getting the same problem with V0.33.
Installing Stash with Helm chart (v2024.2.13) and getting the warning message
Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks
But I have enabled the ValidatingAdmissionWebhook,MutatingAdmissionWebhook.
If you could provide assistance in resolving this problem, I would greatly appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants