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

Post \"https://webhook-service.actions-runner-system.svc:443/mutate-actions-summerwind-dev-v1alpha1-runner?timeout=10s\": service \"webhook-service\" not found"} #1159

Closed
2 tasks
roshvin opened this issue Feb 25, 2022 · 16 comments
Labels
question Further information is requested usage error

Comments

@roshvin
Copy link

roshvin commented Feb 25, 2022

Describe the bug
Action controller was working with --version 0.14.0 , after upgrading to --version 0.16.1 we are getting below error in controller.
we did a helm upgrade.

current version .
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
github-actions-runner actions-runner-system 1 2022-02-25 12:06:41.916207674 +0530 IST deployed actions-runner-controller-0.16.1 0.21.1

Checks

  • My actions-runner-controller version ( 0.21.1) does support the feature
  • I'm using an unreleased version of the controller I built from HEAD of the default branch

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

1.6457718872863e+09 DEBUG actions-runner-controller.runner Runner no longer exists on GitHub {"runner": "github-runner-pool/dot-runner-x5qlq-k2p8r"}
1.6457718872995346e+09 DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "UID": "f50e3767-3f44-43e9-9590 -12a747e26c7c", "kind": "actions.summerwind.dev/v1alpha1, Kind=Runner", "resource": {"group":"actions.summerwind.dev","version":"v1alpha1","resource":"runners"}}
1.645771887301172e+09 DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-actions-summerwind-dev-v1alpha1-runner", "code": 200, "reason": "", "UID": "f50e 3767-3f44-43e9-9590-12a747e26c7c", "allowed": true}
1.6457718873095834e+09 ERROR actions-runner-controller.runner Failed to update runner for finalizer removal {"runner": "github-runner-pool/dot-runner-x5qlq-k2p8r", "error": "Int ernal error occurred: failed calling webhook "mutate.runner.actions.summerwind.dev": Post "https://webhook-service.actions-runner-system.svc:443/mutate-actions-summerwind-dev-v1alpha1-ru nner?timeout=10s": service "webhook-service" not found"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6457718873096845e+09 ERROR controller.runner-controller Reconciler error {"reconciler group": "actions.summerwind.dev", "reconciler kind": "Runner", "name": "dot-runner-x5qlq -k2p8r", "namespace": "github-runner-pool", "error": "Internal error occurred: failed calling webhook "mutate.runner.actions.summerwind.dev": Post "https://webhook-service.actions-runner -system.svc:443/mutate-actions-summerwind-dev-v1alpha1-runner?timeout=10s": service "webhook-service" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227

Environment (please complete the following information):

  • Controller Version [0.21.1]
  • Deployment Method [. Helm ]
  • Helm Chart Version [0.16.1]

Additional context
Add any other context about the problem here.

@roshvin
Copy link
Author

roshvin commented Feb 25, 2022

]# k create -f runner.yaml_1
Error from server (InternalError): error when creating "runner.yaml_1": Internal error occurred: failed calling webhook "mutate.runnerdeployment.actions.summerwind.dev": Post "https://webhook-service.actions-runner-system.svc:443/mutate-actions-summerwind-dev-v1alpha1-runnerdeployment?timeout=10s": service "webhook-service" not found

@mumoshu
Copy link
Collaborator

mumoshu commented Feb 25, 2022

service "webhook-service" not found" says that the k8s serviec name for the webhook-service has somehow changed, and we never used a service name of webhook-service in our helm chart by default, right? 🤔

https://github.com/actions-runner-controller/actions-runner-controller/blob/6b12413fddbdff396d13391a64819b7e629f2ae4/charts/actions-runner-controller/templates/_helpers.tpl#L96

Maybe you manually updated the k8s service after the first install and a subsequent helm-ugprade doesn't modify that, because it's not managed by helm?

It would be great if you could review your k8s resources on the cluster and take diff betwee helm template and your cluster's current state, or just reinstall ARC.

Please do note that you'd need clean up any redundant webhook conffigs you manually created before reinstalling ARC. Otherwise you may end up with such error.

@mumoshu mumoshu closed this as completed Feb 25, 2022
@mumoshu mumoshu added question Further information is requested usage error labels Feb 25, 2022
@roshvin
Copy link
Author

roshvin commented Feb 25, 2022

Hi , Thanks for the info , i did an uninstallation of ARC and installed again with helm , still same error.
is there any other stop to clean up this before helm install.

i used below install step.

helm upgrade -i github-actions-runner --namespace actions-runner-system --create-namespace --version 0.16.1 -f runner-values.yaml actions-runner-controller/actions-runner-controller

@toast-gear
Copy link
Collaborator

Did you do a helm uninstall or did you helm uninstall and a kc delete on each CRD? Helm won't touch CRDs beyond the initial install (this includes upgrade/downgrade and remove).

@mumoshu
Copy link
Collaborator

mumoshu commented Feb 26, 2022

Also try running kubectl get mutatingwebhookconfiguration to list all the remaining mutating webhook configs and delete all you think redundant.

@roshvin
Copy link
Author

roshvin commented Feb 28, 2022

kubectl get mutatingwebhookconfiguration

Did you do a helm uninstall or did you helm uninstall and a kc delete on each CRD? Helm won't touch CRDs beyond the initial install (this includes upgrade/downgrade and remove).

Did you do a helm uninstall or did you helm uninstall and a kc delete on each CRD? Helm won't touch CRDs beyond the initial install (this includes upgrade/downgrade and remove).

Thanks for the replay , i did a helm uninstall and install . could you suggest the way to cleanup full and install again or how to delete each CRD

@roshvin
Copy link
Author

roshvin commented Feb 28, 2022

Also try running kubectl get mutatingwebhookconfiguration to list all the remaining mutating webhook configs and delete all you think redundant.

Thanks for your replay . below is the command output.

~]# kubectl get mutatingwebhookconfiguration
NAME                                                                             WEBHOOKS   AGE
cert-manager-webhook                                                             1          184d
fwaas-webhook                                                                    1          187d
github-actions-runner-actions-runner-controller-mutating-webhook-configuration   4          3d
mutating-webhook-configuration                                                   4          5d21h


@mumoshu
Copy link
Collaborator

mumoshu commented Feb 28, 2022

github-actions-runner-actions-runner-controller-mutating-webhook-configuration and mutating-webhook-configuration seems suspicious- arent they from previous installation of arc?

@roshvin
Copy link
Author

roshvin commented Feb 28, 2022

Hi @mumoshu thanks for the replay. i deleted both and uninstalled and did helm install again .

# helm uninstall github-actions-runner
release "github-actions-runner" uninstalled


#  helm upgrade -i github-actions-runner --namespace actions-runner-system  --create-namespace --version 0.16.1 -f runner-values.yaml actions-runner-controller/actions-runner-controller
Release "github-actions-runner" does not exist. Installing it now.
NAME: github-actions-runner
LAST DEPLOYED: Mon Feb 28 13:37:46 2022
NAMESPACE: actions-runner-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  http://dns-name.netmap[path:/github-runner pathType:Exact]


]# kubectl -n actions-runner-system get endpoints
NAME                                                              ENDPOINTS              AGE
github-actions-runner-actions-runner-controller-github-webhook    192.168.130.27:8000    5m12s
github-actions-runner-actions-runner-controller-metrics-service   192.168.130.232:8443   5m12s
github-actions-runner-actions-runner-controller-webhook           192.168.130.232:9443   5m12s
hello-world                                                       192.168.128.212:8080   3d

[root@devops-runner ent]# kubectl get mutatingwebhookconfiguration
NAME                                                                             WEBHOOKS   AGE
cert-manager-webhook                                                             1          184d
fwaas-webhook                                                                    1          187d
github-actions-runner-actions-runner-controller-mutating-webhook-configuration   4          5m39s

github-actions-runner-actions-runner-controller-mutating-webhook-configuration came with part of the controller installation.
am i missing something. is there any other components need updates apart from helm.

last working configuration was v0.14 for me didnt try after that since we were waiting for GHE 3.3

@mumoshu
Copy link
Collaborator

mumoshu commented Feb 28, 2022

@roshvin What error are you seeing? Everything looks good to me now.

@roshvin
Copy link
Author

roshvin commented Feb 28, 2022

@mumoshu thanks , i was getting below error while creating runnerdeployment.

 k apply -f runner.yaml_1
Error from server (InternalError): error when creating "runner.yaml_1": Internal error occurred: failed calling webhook "validate.runnerdeployment.actions.summerwind.dev": Post "https://webhook-service.actions-runner-system.svc:443/validate-actions-summerwind-dev-v1alpha1-runnerdeployment?timeout=10s": service "webhook-service" not found

i referred this issue #933 and did below commnads.

# kubectl get validatingwebhookconfiguration
NAME                                                                               WEBHOOKS   AGE
cert-manager-webhook                                                               1          184d
dhc-policy-controller                                                              1          187d
github-actions-runner-actions-runner-controller-validating-webhook-configuration   3          17m
validating-webhook-configuration                                                   3          5d22h

]# k delete validatingwebhookconfiguration validating-webhook-configuration
validatingwebhookconfiguration.admissionregistration.k8s.io "validating-webhook-configuration" deleted

# k apply -f runner.yaml_1
runnerdeployment.actions.summerwind.dev/dot-runner created



@mumoshu
Copy link
Collaborator

mumoshu commented Feb 28, 2022

@roshvin Thanks. Would you mind giving me the output of kubectl get svc and kubectl get validatingwebhookconfiguration -o yaml github-actions-runner-actions-runner-controller-validating-webhook-configuration?

@roshvin
Copy link
Author

roshvin commented Feb 28, 2022

Hi @mumoshu sure . here it is

# kubectl get svc
NAME                                                              TYPE        CLUSTER-IP        EXTERNAL-IP   PORT(S)    AGE
github-actions-runner-actions-runner-controller-github-webhook    ClusterIP   192.168.68.229    <none>        80/TCP     35m
github-actions-runner-actions-runner-controller-metrics-service   ClusterIP   192.168.70.125    <none>        8443/TCP   35m
github-actions-runner-actions-runner-controller-webhook           ClusterIP   192.168.120.214   <none>        443/TCP    35m
hello-world                                                       ClusterIP   192.168.91.235    <none>        80/TCP     3d1h

]# kubectl get validatingwebhookconfiguration -o yaml github-actions-runner-actions-runner-controller-validating-webhook-configuration
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
  annotations:
    cert-manager.io/inject-ca-from: actions-runner-system/github-actions-runner-actions-runner-controller-serving-cert
    meta.helm.sh/release-name: github-actions-runner
    meta.helm.sh/release-namespace: actions-runner-system
  creationTimestamp: "2022-02-28T07:54:04Z"
  generation: 2
  labels:
    app.kubernetes.io/managed-by: Helm
  managedFields:
  - apiVersion: admissionregistration.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:webhooks:
        k:{"name":"validate.runner.actions.summerwind.dev"}:
          f:clientConfig:
            f:caBundle: {}
        k:{"name":"validate.runnerdeployment.actions.summerwind.dev"}:
          f:clientConfig:
            f:caBundle: {}
        k:{"name":"validate.runnerreplicaset.actions.summerwind.dev"}:
          f:clientConfig:
            f:caBundle: {}
    manager: cainjector
    operation: Update
    time: "2022-02-28T07:54:04Z"
  - apiVersion: admissionregistration.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:cert-manager.io/inject-ca-from: {}
          f:meta.helm.sh/release-name: {}
          f:meta.helm.sh/release-namespace: {}
        f:labels:
          .: {}
          f:app.kubernetes.io/managed-by: {}
      f:webhooks:
        .: {}
        k:{"name":"validate.runner.actions.summerwind.dev"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
        k:{"name":"validate.runnerdeployment.actions.summerwind.dev"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
        k:{"name":"validate.runnerreplicaset.actions.summerwind.dev"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
    manager: helm
    operation: Update
    time: "2022-02-28T07:54:04Z"
  name: github-actions-runner-actions-runner-controller-validating-webhook-configuration
  resourceVersion: "89964651"
  uid: a2ff551c-4444-47f9-8824-06d46913fb72
webhooks:
- admissionReviewVersions:
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURjakNDQWxxZ0F3SUJBZ0lSQU5RbjNHTXJTcDlVRDFKMThqRS83T0l3RFFZSktvWklodmNOQVFFTEJRQXcKQURBZUZ3MHlNakF5TWpVd05qSXpNREphRncweU1qQTFNall3TmpJek1ESmFNQUF3Z2dFaU1BMEdDU3FHU0liMwpEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUN4U0x6b3Mvd3ZTRVhXMVZxbGRGeXFxa2syOXdEeTBYY0FjSFRyCkZTRzJIZGVDQzJSWkVFb2N2RS9xT0tXNGtrYk5TMThZdTdpQUE4bmM1T0tBcmdoVzhUV0dmRG1reDR4SVFqYWoKTUxZUzNWQVFESmY3STZQRnRwa1c2aTlGNExubTc0RWhOb0g5ekVvanJUQUpUaHZrc3hOcGFwMm1sTnJQVnBCbQpyK0lXaWppTEZtUFRZMGswN2lhcHkvKzV2cjg3ZEdwU1ZrTDNoSmFTMDJEZktnMXdUSDJueUJiekV5b0VXQWVBClZaTHd3ZTBRQ2YyOFZTRm5qNjgrUDkwOWk2cXJuL0pDL0tYR25ncTlMcjBJSzlDZFdweU9DQnJVbXlWT242WHEKWU1NekF1Nm9NSm1wUFk3Nm5pQ0NQMTRncWRHYm9GclMwN1JCemJwWlhRUC9tZHVEQWdNQkFBR2pnZVl3Z2VNdwpEZ1lEVlIwUEFRSC9CQVFEQWdXZ01Bd0dBMVVkRXdFQi93UUNNQUF3Z2NJR0ExVWRFUUVCL3dTQnR6Q0J0SUpSCloybDBhSFZpTFdGamRHbHZibk10Y25WdWJtVnlMV0ZqZEdsdmJuTXRjblZ1Ym1WeUxXTnZiblJ5YjJ4c1pYSXQKZDJWaWFHOXZheTVoWTNScGIyNXpMWEoxYm01bGNpMXplWE4wWlcwdWMzWmpnbDluYVhSb2RXSXRZV04wYVc5dQpjeTF5ZFc1dVpYSXRZV04wYVc5dWN5MXlkVzV1WlhJdFkyOXVkSEp2Ykd4bGNpMTNaV0pvYjI5ckxtRmpkR2x2CmJuTXRjblZ1Ym1WeUxYTjVjM1JsYlM1emRtTXVZMngxYzNSbGNpNXNiMk5oYkRBTkJna3Foa2lHOXcwQkFRc0YKQUFPQ0FRRUFiT0xoMmFRMjlVaGtLUUhiY05OWFJuVzlIY2t4enI5c2I2VFliTkR3TGwvWmhyb3NFd2JVSk05RApxR1RmM21KbTYvZTM4VzRud1JDeEpuRVYyZ0ZQd2cxMGg3czdHbjByb2FFZXpoQnFRYUFVQ0hBdzBDZEE2TkpBCktaZW5MYUpjakx6dkhmRHhRUVdYVUtkTXU2NmlBQ0VIOW9ZRmswUDZQR1NnVVRjTUdtWVNXYlQ0N1ZMMnU2TnkKUjd2SGpLalZKVTgybFBIWk5lSTJPR1FTZFV6TXFBUjFUaWdOVUFGekxsenFnZGNtVHkyMXlJV1JSTFVBekdiZAppckhkS09pT0xqdk54V05GQ2paYUVCQjZTWVl2Mm9CbDBkSjhFck03Y1lDQ2RxeTA1eXA3c0tQYVM4Q0I4Q01DClBVa1piQzBrM2NkNWpBbHE3TDZ4YXJNWW4vQ003UT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
    service:
      name: github-actions-runner-actions-runner-controller-webhook
      namespace: actions-runner-system
      path: /validate-actions-summerwind-dev-v1alpha1-runner
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: validate.runner.actions.summerwind.dev
  namespaceSelector: {}
  objectSelector: {}
  rules:
  - apiGroups:
    - actions.summerwind.dev
    apiVersions:
    - v1alpha1
    operations:
    - CREATE
    - UPDATE
    resources:
    - runners
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
- admissionReviewVersions:
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURjakNDQWxxZ0F3SUJBZ0lSQU5RbjNHTXJTcDlVRDFKMThqRS83T0l3RFFZSktvWklodmNOQVFFTEJRQXcKQURBZUZ3MHlNakF5TWpVd05qSXpNREphRncweU1qQTFNall3TmpJek1ESmFNQUF3Z2dFaU1BMEdDU3FHU0liMwpEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUN4U0x6b3Mvd3ZTRVhXMVZxbGRGeXFxa2syOXdEeTBYY0FjSFRyCkZTRzJIZGVDQzJSWkVFb2N2RS9xT0tXNGtrYk5TMThZdTdpQUE4bmM1T0tBcmdoVzhUV0dmRG1reDR4SVFqYWoKTUxZUzNWQVFESmY3STZQRnRwa1c2aTlGNExubTc0RWhOb0g5ekVvanJUQUpUaHZrc3hOcGFwMm1sTnJQVnBCbQpyK0lXaWppTEZtUFRZMGswN2lhcHkvKzV2cjg3ZEdwU1ZrTDNoSmFTMDJEZktnMXdUSDJueUJiekV5b0VXQWVBClZaTHd3ZTBRQ2YyOFZTRm5qNjgrUDkwOWk2cXJuL0pDL0tYR25ncTlMcjBJSzlDZFdweU9DQnJVbXlWT242WHEKWU1NekF1Nm9NSm1wUFk3Nm5pQ0NQMTRncWRHYm9GclMwN1JCemJwWlhRUC9tZHVEQWdNQkFBR2pnZVl3Z2VNdwpEZ1lEVlIwUEFRSC9CQVFEQWdXZ01Bd0dBMVVkRXdFQi93UUNNQUF3Z2NJR0ExVWRFUUVCL3dTQnR6Q0J0SUpSCloybDBhSFZpTFdGamRHbHZibk10Y25WdWJtVnlMV0ZqZEdsdmJuTXRjblZ1Ym1WeUxXTnZiblJ5YjJ4c1pYSXQKZDJWaWFHOXZheTVoWTNScGIyNXpMWEoxYm01bGNpMXplWE4wWlcwdWMzWmpnbDluYVhSb2RXSXRZV04wYVc5dQpjeTF5ZFc1dVpYSXRZV04wYVc5dWN5MXlkVzV1WlhJdFkyOXVkSEp2Ykd4bGNpMTNaV0pvYjI5ckxtRmpkR2x2CmJuTXRjblZ1Ym1WeUxYTjVjM1JsYlM1emRtTXVZMngxYzNSbGNpNXNiMk5oYkRBTkJna3Foa2lHOXcwQkFRc0YKQUFPQ0FRRUFiT0xoMmFRMjlVaGtLUUhiY05OWFJuVzlIY2t4enI5c2I2VFliTkR3TGwvWmhyb3NFd2JVSk05RApxR1RmM21KbTYvZTM4VzRud1JDeEpuRVYyZ0ZQd2cxMGg3czdHbjByb2FFZXpoQnFRYUFVQ0hBdzBDZEE2TkpBCktaZW5MYUpjakx6dkhmRHhRUVdYVUtkTXU2NmlBQ0VIOW9ZRmswUDZQR1NnVVRjTUdtWVNXYlQ0N1ZMMnU2TnkKUjd2SGpLalZKVTgybFBIWk5lSTJPR1FTZFV6TXFBUjFUaWdOVUFGekxsenFnZGNtVHkyMXlJV1JSTFVBekdiZAppckhkS09pT0xqdk54V05GQ2paYUVCQjZTWVl2Mm9CbDBkSjhFck03Y1lDQ2RxeTA1eXA3c0tQYVM4Q0I4Q01DClBVa1piQzBrM2NkNWpBbHE3TDZ4YXJNWW4vQ003UT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
    service:
      name: github-actions-runner-actions-runner-controller-webhook
      namespace: actions-runner-system
      path: /validate-actions-summerwind-dev-v1alpha1-runnerdeployment
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: validate.runnerdeployment.actions.summerwind.dev
  namespaceSelector: {}
  objectSelector: {}
  rules:
  - apiGroups:
    - actions.summerwind.dev
    apiVersions:
    - v1alpha1
    operations:
    - CREATE
    - UPDATE
    resources:
    - runnerdeployments
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
- admissionReviewVersions:
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURjakNDQWxxZ0F3SUJBZ0lSQU5RbjNHTXJTcDlVRDFKMThqRS83T0l3RFFZSktvWklodmNOQVFFTEJRQXcKQURBZUZ3MHlNakF5TWpVd05qSXpNREphRncweU1qQTFNall3TmpJek1ESmFNQUF3Z2dFaU1BMEdDU3FHU0liMwpEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUN4U0x6b3Mvd3ZTRVhXMVZxbGRGeXFxa2syOXdEeTBYY0FjSFRyCkZTRzJIZGVDQzJSWkVFb2N2RS9xT0tXNGtrYk5TMThZdTdpQUE4bmM1T0tBcmdoVzhUV0dmRG1reDR4SVFqYWoKTUxZUzNWQVFESmY3STZQRnRwa1c2aTlGNExubTc0RWhOb0g5ekVvanJUQUpUaHZrc3hOcGFwMm1sTnJQVnBCbQpyK0lXaWppTEZtUFRZMGswN2lhcHkvKzV2cjg3ZEdwU1ZrTDNoSmFTMDJEZktnMXdUSDJueUJiekV5b0VXQWVBClZaTHd3ZTBRQ2YyOFZTRm5qNjgrUDkwOWk2cXJuL0pDL0tYR25ncTlMcjBJSzlDZFdweU9DQnJVbXlWT242WHEKWU1NekF1Nm9NSm1wUFk3Nm5pQ0NQMTRncWRHYm9GclMwN1JCemJwWlhRUC9tZHVEQWdNQkFBR2pnZVl3Z2VNdwpEZ1lEVlIwUEFRSC9CQVFEQWdXZ01Bd0dBMVVkRXdFQi93UUNNQUF3Z2NJR0ExVWRFUUVCL3dTQnR6Q0J0SUpSCloybDBhSFZpTFdGamRHbHZibk10Y25WdWJtVnlMV0ZqZEdsdmJuTXRjblZ1Ym1WeUxXTnZiblJ5YjJ4c1pYSXQKZDJWaWFHOXZheTVoWTNScGIyNXpMWEoxYm01bGNpMXplWE4wWlcwdWMzWmpnbDluYVhSb2RXSXRZV04wYVc5dQpjeTF5ZFc1dVpYSXRZV04wYVc5dWN5MXlkVzV1WlhJdFkyOXVkSEp2Ykd4bGNpMTNaV0pvYjI5ckxtRmpkR2x2CmJuTXRjblZ1Ym1WeUxYTjVjM1JsYlM1emRtTXVZMngxYzNSbGNpNXNiMk5oYkRBTkJna3Foa2lHOXcwQkFRc0YKQUFPQ0FRRUFiT0xoMmFRMjlVaGtLUUhiY05OWFJuVzlIY2t4enI5c2I2VFliTkR3TGwvWmhyb3NFd2JVSk05RApxR1RmM21KbTYvZTM4VzRud1JDeEpuRVYyZ0ZQd2cxMGg3czdHbjByb2FFZXpoQnFRYUFVQ0hBdzBDZEE2TkpBCktaZW5MYUpjakx6dkhmRHhRUVdYVUtkTXU2NmlBQ0VIOW9ZRmswUDZQR1NnVVRjTUdtWVNXYlQ0N1ZMMnU2TnkKUjd2SGpLalZKVTgybFBIWk5lSTJPR1FTZFV6TXFBUjFUaWdOVUFGekxsenFnZGNtVHkyMXlJV1JSTFVBekdiZAppckhkS09pT0xqdk54V05GQ2paYUVCQjZTWVl2Mm9CbDBkSjhFck03Y1lDQ2RxeTA1eXA3c0tQYVM4Q0I4Q01DClBVa1piQzBrM2NkNWpBbHE3TDZ4YXJNWW4vQ003UT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
    service:
      name: github-actions-runner-actions-runner-controller-webhook
      namespace: actions-runner-system
      path: /validate-actions-summerwind-dev-v1alpha1-runnerreplicaset
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: validate.runnerreplicaset.actions.summerwind.dev
  namespaceSelector: {}
  objectSelector: {}
  rules:
  - apiGroups:
    - actions.summerwind.dev
    apiVersions:
    - v1alpha1
    operations:
    - CREATE
    - UPDATE
    resources:
    - runnerreplicasets
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10

@mumoshu
Copy link
Collaborator

mumoshu commented Feb 28, 2022

@roshvin Please try removing validating-webhook-configuration with kubectl delete validatingwebhookconfiguration validating-webhook-configuration

@roshvin
Copy link
Author

roshvin commented Mar 1, 2022

@mumoshu Thanks a lot , it worked after deleting

kubectl delete validatingwebhookconfiguration validating-webhook-configuration

@Supesharisuto
Copy link

Thank you. We ran into the same issue having installed/reinstalled actions-runner a few time over the year.
deleting k delete validatingwebhookconfiguration/validating-webhook-configuration helps save the day..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested usage error
Projects
None yet
Development

No branches or pull requests

4 participants