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

failed to call webhook - no endpoints available for service "secret-agent-webhook-service" #675

Open
anoasis opened this issue Mar 29, 2023 · 0 comments

Comments

@anoasis
Copy link

anoasis commented Mar 29, 2023

I'm currently trying to follow the instructions in Cloud Developer's Kit (CDK) in GCP. Secret Agent Operator is successfully installed but
the CDK script(release/7.1-20221111) is throwing the following error. Please have a look:

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "msecretagentconfiguration.kb.io": failed to call webhook: Post "https://secret-agent-webhook-service.secret-agent-system.svc:443/mutate-secret-agent-secrets-forgerock-io-v1alpha1-secretagentconfiguration?timeout=10s": no endpoints available for service "secret-agent-webhook-service"
Traceback (most recent call last):
File "/my/local/path/ForgeRock/forgeops/bin/./cdk", line 250, in
main()
File "/my/local/path/ForgeRock/forgeops/bin/./cdk", line 237, in main
deploy_quickstart(namespace, fqdn, None)
File "/my/local/path/ForgeRock/forgeops/bin/./cdk", line 104, in deploy_quickstart
deploy_component('base', ns, fqdn, tag)
File "/my/local/path/ForgeRock/forgeops/bin/./cdk", line 69, in deploy_component
deploy_local_manifest(component, ns, fqdn)
File "/my/local/path/ForgeRock/forgeops/bin/./cdk", line 59, in deploy_local_manifest
utils.run('kubectl', f'-n {ns} apply -f -', stdin=bytes(contents, 'ascii'))
File "/my/local/path/ForgeRock/forgeops/bin/utils.py", line 58, in run
_r = subprocess.run(runcmd.split(), stdout=stdo_pipe, stderr=stde_pipe,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['kubectl', '-n', 'forgerock', 'apply', '-f', '-']' returned non-zero exit status 1.

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

No branches or pull requests

1 participant