Bug 1: No build for agent projects
`fips-agents deploy --context=course-test -n calculus-agent --set config.MODEL_ENDPOINT=...` on a fresh scaffold only runs the Helm install step. It does not create a BuildConfig, upload source, or trigger a build. The resulting pod gets `ErrImagePull` because no image exists.
This works correctly for `mcp-server` projects — the full pipeline (apply openshift.yaml, build, rollout) executes as expected.
Expected: Agent projects should get the same build pipeline: create BuildConfig, upload source via `oc start-build --from-dir`, resolve ImageStream, then `helm upgrade --install`.
Workaround: Use the manual BuildConfig + Helm path:
```bash
oc new-build --binary --name=calculus-agent --strategy=docker -n calculus-agent
oc start-build calculus-agent --from-dir=. --follow -n calculus-agent
IMAGE=$(oc get is calculus-agent -n calculus-agent -o jsonpath='{.status.dockerImageRepository}')
helm install calculus-agent chart/ --set image.repository=$IMAGE --set route.enabled=true ...
```
Bug 2: --set config.KEY=value fails on nil config map
The scaffolded `chart/values.yaml` has:
```yaml
config:
MODEL_ENDPOINT: ...
MODEL_NAME: ...
```
Helm treats this as `config: null` (not `config: {}`). Any `--set config.KEY=value` fails with:
```
unable to parse key: interface conversion: interface {} is nil, not map[interface {}]
```
Expected: Either the scaffold should initialize `config: {}` or `fips-agents deploy` should handle this case.
Tested with: fips-agents v0.15.3, OpenShift 4.20.23, fresh scaffold from `fips-agents create agent`.
Bug 1: No build for agent projects
`fips-agents deploy --context=course-test -n calculus-agent --set config.MODEL_ENDPOINT=...` on a fresh scaffold only runs the Helm install step. It does not create a BuildConfig, upload source, or trigger a build. The resulting pod gets `ErrImagePull` because no image exists.
This works correctly for `mcp-server` projects — the full pipeline (apply openshift.yaml, build, rollout) executes as expected.
Expected: Agent projects should get the same build pipeline: create BuildConfig, upload source via `oc start-build --from-dir`, resolve ImageStream, then `helm upgrade --install`.
Workaround: Use the manual BuildConfig + Helm path:
```bash
oc new-build --binary --name=calculus-agent --strategy=docker -n calculus-agent
oc start-build calculus-agent --from-dir=. --follow -n calculus-agent
IMAGE=$(oc get is calculus-agent -n calculus-agent -o jsonpath='{.status.dockerImageRepository}')
helm install calculus-agent chart/ --set image.repository=$IMAGE --set route.enabled=true ...
```
Bug 2: --set config.KEY=value fails on nil config map
The scaffolded `chart/values.yaml` has:
```yaml
config:
MODEL_ENDPOINT: ...
MODEL_NAME: ...
```
Helm treats this as `config: null` (not `config: {}`). Any `--set config.KEY=value` fails with:
```
unable to parse key: interface conversion: interface {} is nil, not map[interface {}]
```
Expected: Either the scaffold should initialize `config: {}` or `fips-agents deploy` should handle this case.
Tested with: fips-agents v0.15.3, OpenShift 4.20.23, fresh scaffold from `fips-agents create agent`.