Unable to use 3scale dynamic plugin
fmenesesg opened this issue · 0 comments
Describe the bug
3scale dynamic plugin is expecting 2 environment variables "3SCALE_BASE_URL" and "3SCALE_ACCESS_TOKEN", they can not be set up because and environment variable cannot start with a digit.
Upgrade "developer-hub" failed: cannot patch "developer-hub" with kind Deployment: Deployment.apps "developer-hub" is invalid: [spec.template.spec.containers[0].env[5].name: Invalid value: "3SCALE_BASE_URL": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[6].name: Invalid value: "3SCALE_ACCESS_TOKEN": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*')]
Expected Behavior
APIs loaded on the catalog from a 3scale tenant
What are the steps to reproduce this bug?
- Install Developer hub 1.0 using helm chart on Openshift
- Enable 3scale plugin on helm chart
- disabled: false
package: >-
./dynamic-plugins/dist/janus-idp-backstage-plugin-3scale-backend-dynamic
- Upgrade chart
- Check events
Versions of software used and environment
Developer hub v1.0
Char version 1.0.0-1/ App Version 1.0-200