Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Jenkins master and agent maintenance. Add Rhel9 variant and make it default ([#1361](https://github.com/opendevstack/ods-core/pull/1361))
- Update tailor to 1.4.0 ([#1373](https://github.com/opendevstack/ods-core/pull/1373))
- Update Jenkins java version to jdk 21 ([#1374](https://github.com/opendevstack/ods-core/pull/1374))
- Add new configuration for the ODS API Service ([1375](https://github.com/opendevstack/ods-core/pull/1375)) ([1377](https://github.com/opendevstack/ods-core/pull/1377))
- Add new configuration for the ODS API Service ([1375](https://github.com/opendevstack/ods-core/pull/1375)) ([1377](https://github.com/opendevstack/ods-core/pull/1377))([1378](https://github.com/opendevstack/ods-core/pull/1378))

### Fixed

Expand Down
20 changes: 10 additions & 10 deletions ods-api-service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ ods-api-service-render-helm-chart:

## Render the generated application.yaml from Helm templates to a local file.
ods-api-service-render-application-yaml:
@cd ods-api-service/chart && \
@cd chart && \
helm secrets template ods-api-service . \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.values.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.secrets.enc.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service.values.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/secrets.enc.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/$(env)/values.$(env).yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/$(env)/secrets.$(env).enc.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.values.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.secrets.enc.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/values.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/secrets.enc.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/$(env)/values.$(env).yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-api-service/$(env)/secrets.$(env).enc.yaml \
--set projectId=$(ODS_NAMESPACE) \
--set appSelector=app=ods-api-service \
--set registry=$(DOCKER_REGISTRY) \
Expand All @@ -66,13 +66,13 @@ ods-api-service-render-application-yaml:
--set global.imageNamespace=$(ODS_NAMESPACE) \
--set global.imageTag=$(ODS_IMAGE_TAG) \
--set ODS_OPENSHIFT_APP_DOMAIN=$(OPENSHIFT_APPS_BASEDOMAIN) \
2>/dev/null | \
yq -r 'select(.kind == "ConfigMap") | select(.metadata.name == "ods-api-service-config") | .data["application.yaml"]'
2>/dev/null | \
yq -r 'select(.kind == "ConfigMap") | select(.metadata.name == "ods-api-service-config") | .data["application.yaml"]'


## Render the generated .env file from Helm templates to a local file.
ods-api-service-renderdot-env:
@cd ods-api-service/chart && \
@cd chart && \
helm secrets template ods-api-service . \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.values.yaml \
-f $(ODS_CONFIGURATION_FULL_PATH)/ods-core.secrets.enc.yaml \
Expand Down
Loading
Loading