Skip to content

Conversation

ddrechse
Copy link
Member

@ddrechse ddrechse commented Oct 9, 2025

…ation

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 9, 2025
Copy link

sonarqubecloud bot commented Oct 9, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

{{- end }}
containers:
- name: {{ .Chart.Name }}
- name: ku{{ .Chart.Name }}

Check warning

Code scanning / SonarCloud

Memory limits should be enforced Medium

Specify a memory limit for this container. See more on SonarQube Cloud
Copy link
Member

@markxnelson markxnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the readme needs work. it has too much list content and little prose.

{{- end }}
containers:
- name: {{ .Chart.Name }}
- name: ku{{ .Chart.Name }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ku?

{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- if eq .Values.obaas.framework "SPRING_BOOT" }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on line 8 you converted to upper case, here you don't

- name: eureka.client.service-url.defaultZone
value: "http://eureka-0.eureka.{{ .Values.obaas.namespace }}.svc.cluster.local:8761/eureka"
- name: eureka.instance.hostname
value: {{ include "obaas-app.fullname" . }}-{{ $.Release.Namespace }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would be the key other services use to look up this service in the registry. i think that assuming they would know the namespace may be a bad assumption.

- Building cloud-native, containerized applications
- Prefer explicit configuration over auto-configuration

### Resource Comparison
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this either needs evidence so people can reproduce/confirm, or delete it. at the very least, it would need to state what the configuration of the test system was

Comment on lines +101 to +103
# Liquibase configuration (uses separate admin credentials for migrations)
- name: LIQUIBASE_ENABLED
value: "true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't LIQUIBAS_ENABLED be in the application.yaml/properties. That's what cbv5 have

Comment on lines +154 to +159
- name: hibernate.hbm2ddl.auto
value: {{ $.Values.obaas.helidon.hibernate.hbm2ddl_auto | quote }}
- name: hibernate.show_sql
value: {{ $.Values.obaas.helidon.hibernate.show_sql | quote }}
- name: hibernate.format_sql
value: {{ $.Values.obaas.helidon.hibernate.format_sql | quote }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be in application.yaml/properties. CBV5 have it there

kind: Deployment
metadata:
name: {{ include "obaas-app.fullname" . }}
namespace: {{ .Values.obaas.namespace }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't take out this, value is set in values.yaml file

framework: REPLACE_WITH_FRAMEWORK # Options: SPRING_BOOT or HELIDON

database:
enabled: true # If true variables with DB secret content will be created
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this parameter

{{- if $.Values.obaas.springboot.enabled }}
- name: SPRING_PROFILES_ACTIVE
value: {{ $obaas.data.SPRING_PROFILES_ACTIVE | quote }}
{{- if $.Values.obaas.database.enabled }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this it is a parameter in the values.yaml

{{- if $.Values.obaas.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ (index $obaasObs.data "signoz-otel-collector") | quote }}
value: {{ index $observability.data "signoz-otel-collector" | quote }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will ned the () surrounding the index index $observability.data "signoz-otel-collector" otherwise it can fail

Comment on lines +63 to +65
value: {{ $obaas.data.MP_LRA_COORDINATOR_URL | quote }}
- name: MP_LRA_PARTICIPANT_URL
value: {{ $obaas.data.MP_LRA_PARTICIPANT_URL | quote }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$obaas.data.MP_LRA_COORDINATOR_URL and $obaas.data.MP_LRA_PARTICIPANT_URL doesn't exist in the configmap. it is called $obaas.data.otmm

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

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants