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

Update kbctl command in demo/application-modernization #10

Open
mkananizadeh opened this issue May 27, 2022 · 0 comments
Open

Update kbctl command in demo/application-modernization #10

mkananizadeh opened this issue May 27, 2022 · 0 comments

Comments

@mkananizadeh
Copy link

kubectl create secret generic kafka-secrets --from-file=.ids/BOOTSTRAP_SERVERS --from-file=.creds/CLIENT_KEY --from-file=.creds/CLIENT_SECRET --from-file=.creds/SASL_JAAS_CONFIG --from-file=.creds/SCHEMA_REGISTRY_API_KEY --from-file=.creds/SCHEMA_REGISTRY_API_SECRET --from-file=.creds/SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO --from-file=.ids/SCHEMA_REGISTRY_URL --from-file=.creds/KSQLDB_API_KEY --from-file=.creds/KSQLDB_API_SECRET --from-file=.ids/KSQLDB_APP_ENDPOINT
command returns the following error

error: error reading .ids/BOOTSTRAP_SERVERS: no such file or directory

I think this is the right command
kubectl create secret generic kafka-secrets --from-file=.secrets/BOOTSTRAP_SERVERS --from-file=.secrets/CLIENT_KEY --from-file=.secrets/CLIENT_SECRET --from-file=.secrets/SASL_JAAS_CONFIG --from-file=.secrets/SCHEMA_REGISTRY_API_KEY --from-file=.secrets/SCHEMA_REGISTRY_API_SECRET --from-file=.secrets/SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO --from-file=.secrets/SCHEMA_REGISTRY_URL --from-file=.secrets/KSQLDB_API_KEY --from-file=.secrets/KSQLDB_API_SECRET --from-file=.secrets/KSQLDB_APP_ENDPOINT

secret/kafka-secrets created

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

No branches or pull requests

1 participant