Loading .idea/workspace.xml 0 → 100644 +82 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="AutoImportSettings"> <option name="autoReloadType" value="SELECTIVE" /> </component> <component name="ChangeListManager"> <list default="true" id="a1940dba-3451-4711-a557-177535592a15" name="Changes" comment=""> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/Chart.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/_helpers.tpl" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/configmap.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/deployment.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/pvc.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/service.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/environments/kind/cluster.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/environments/kind/cluster.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/environments/kind/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/environments/kind/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/Chart.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/Chart.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/templates/oegcontroller-deployment.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/templates/oegcontroller-deployment.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/srm/templates/srmcontroller-deployment.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/srm/templates/srmcontroller-deployment.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/srm/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/srm/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/values.yaml" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="LAST_RESOLUTION" value="IGNORE" /> </component> <component name="Git.Settings"> <option name="RECENT_BRANCH_BY_REPOSITORY"> <map> <entry key="$PROJECT_DIR$" value="main" /> </map> </option> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> </component> <component name="ProjectColorInfo"><![CDATA[{ "customColor": "", "associatedIndex": 7 }]]></component> <component name="ProjectId" id="3DyuFK0YD2rS0kqAZJF8uOrtIR8" /> <component name="ProjectViewState"> <option name="hideEmptyMiddlePackages" value="true" /> <option name="showLibraryContents" value="true" /> </component> <component name="PropertiesComponent"><![CDATA[{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", "RunOnceActivity.git.unshallow": "true", "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true", "git-widget-placeholder": "feature/add-nats", "junie.onboarding.icon.badge.shown": "true", "to.speed.mode.migration.done": "true" } }]]></component> <component name="RecentsManager"> <key name="MoveFile.RECENT_KEYS"> <recent name="C:\Users\gpapa\PycharmProjects\helm\oop-platform-chart\charts\nats\templates" /> </key> </component> <component name="SharedIndexes"> <attachedChunks> <set> <option value="bundled-python-sdk-f2b7a9f6281b-6e1f45a539f7-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-253.29346.142" /> </set> </attachedChunks> </component> <component name="StructureViewState"> <option name="selectedTab" value="YAML" /> </component> <component name="TaskManager"> <task active="true" id="Default" summary="Default task"> <changelist id="a1940dba-3451-4711-a557-177535592a15" name="Changes" comment="" /> <created>1779266525432</created> <option name="number" value="Default" /> <option name="presentableId" value="Default" /> <updated>1779266525432</updated> </task> <servers /> </component> </project> No newline at end of file oop-platform-chart/charts/nats/templates/nats-smoke-test.yaml 0 → 100644 +43 −0 Original line number Diff line number Diff line {{- if .Values.nats.smokeTest.enabled }} apiVersion: batch/v1 kind: Job metadata: name: "{{ .Release.Name }}-nats-smoke-test" namespace: {{ .Release.Namespace }} annotations: "helm.sh/hook": test "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: backoffLimit: 0 template: spec: restartPolicy: Never containers: - name: nats-smoke-test image: "{{ .Values.nats.smokeTest.image }}" imagePullPolicy: IfNotPresent command: - /bin/sh - -c - | set -e NATS_URL="nats://{{ .Values.nats.serviceName }}:{{ .Values.nats.port }}" SUBJECT="oop.smoke.test" MESSAGE="hello-from-helm-test" echo "Testing NATS at ${NATS_URL}" nats sub "$SUBJECT" --server "$NATS_URL" --count 1 > /tmp/nats-message.txt & SUB_PID=$! sleep 2 nats pub "$SUBJECT" "$MESSAGE" --server "$NATS_URL" wait $SUB_PID grep "$MESSAGE" /tmp/nats-message.txt echo "NATS smoke test passed." {{- end }} No newline at end of file oop-platform-chart/values.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -269,37 +269,56 @@ portal: nats: enabled: true serviceName: nats port: 4222 smokeTest: enabled: true image: natsio/nats-box:latest global: namespace: oop name: nats replicaCount: 1 image: repository: nats tag: "2.10-alpine" pullPolicy: IfNotPresent service: type: ClusterIP client: port: 4222 nodePort: "" monitoring: port: 8222 nodePort: "" cluster: port: 6222 config: jetstream: enabled: false storeDir: /data/jetstream maxMemoryStore: 128Mi maxFileStore: 1Gi auth: enabled: false username: "" password: "" persistence: enabled: false storageClass: "" accessMode: ReadWriteOnce size: 1Gi resources: {} No newline at end of file Loading
.idea/workspace.xml 0 → 100644 +82 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="AutoImportSettings"> <option name="autoReloadType" value="SELECTIVE" /> </component> <component name="ChangeListManager"> <list default="true" id="a1940dba-3451-4711-a557-177535592a15" name="Changes" comment=""> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/Chart.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/_helpers.tpl" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/configmap.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/deployment.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/pvc.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/templates/service.yaml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/oop-platform-chart/charts/nats/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/environments/kind/cluster.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/environments/kind/cluster.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/environments/kind/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/environments/kind/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/Chart.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/Chart.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/templates/oegcontroller-deployment.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/templates/oegcontroller-deployment.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/oeg/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/srm/templates/srmcontroller-deployment.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/srm/templates/srmcontroller-deployment.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/charts/srm/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/charts/srm/values.yaml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/oop-platform-chart/values.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/oop-platform-chart/values.yaml" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="LAST_RESOLUTION" value="IGNORE" /> </component> <component name="Git.Settings"> <option name="RECENT_BRANCH_BY_REPOSITORY"> <map> <entry key="$PROJECT_DIR$" value="main" /> </map> </option> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> </component> <component name="ProjectColorInfo"><![CDATA[{ "customColor": "", "associatedIndex": 7 }]]></component> <component name="ProjectId" id="3DyuFK0YD2rS0kqAZJF8uOrtIR8" /> <component name="ProjectViewState"> <option name="hideEmptyMiddlePackages" value="true" /> <option name="showLibraryContents" value="true" /> </component> <component name="PropertiesComponent"><![CDATA[{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", "RunOnceActivity.git.unshallow": "true", "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true", "git-widget-placeholder": "feature/add-nats", "junie.onboarding.icon.badge.shown": "true", "to.speed.mode.migration.done": "true" } }]]></component> <component name="RecentsManager"> <key name="MoveFile.RECENT_KEYS"> <recent name="C:\Users\gpapa\PycharmProjects\helm\oop-platform-chart\charts\nats\templates" /> </key> </component> <component name="SharedIndexes"> <attachedChunks> <set> <option value="bundled-python-sdk-f2b7a9f6281b-6e1f45a539f7-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-253.29346.142" /> </set> </attachedChunks> </component> <component name="StructureViewState"> <option name="selectedTab" value="YAML" /> </component> <component name="TaskManager"> <task active="true" id="Default" summary="Default task"> <changelist id="a1940dba-3451-4711-a557-177535592a15" name="Changes" comment="" /> <created>1779266525432</created> <option name="number" value="Default" /> <option name="presentableId" value="Default" /> <updated>1779266525432</updated> </task> <servers /> </component> </project> No newline at end of file
oop-platform-chart/charts/nats/templates/nats-smoke-test.yaml 0 → 100644 +43 −0 Original line number Diff line number Diff line {{- if .Values.nats.smokeTest.enabled }} apiVersion: batch/v1 kind: Job metadata: name: "{{ .Release.Name }}-nats-smoke-test" namespace: {{ .Release.Namespace }} annotations: "helm.sh/hook": test "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: backoffLimit: 0 template: spec: restartPolicy: Never containers: - name: nats-smoke-test image: "{{ .Values.nats.smokeTest.image }}" imagePullPolicy: IfNotPresent command: - /bin/sh - -c - | set -e NATS_URL="nats://{{ .Values.nats.serviceName }}:{{ .Values.nats.port }}" SUBJECT="oop.smoke.test" MESSAGE="hello-from-helm-test" echo "Testing NATS at ${NATS_URL}" nats sub "$SUBJECT" --server "$NATS_URL" --count 1 > /tmp/nats-message.txt & SUB_PID=$! sleep 2 nats pub "$SUBJECT" "$MESSAGE" --server "$NATS_URL" wait $SUB_PID grep "$MESSAGE" /tmp/nats-message.txt echo "NATS smoke test passed." {{- end }} No newline at end of file
oop-platform-chart/values.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -269,37 +269,56 @@ portal: nats: enabled: true serviceName: nats port: 4222 smokeTest: enabled: true image: natsio/nats-box:latest global: namespace: oop name: nats replicaCount: 1 image: repository: nats tag: "2.10-alpine" pullPolicy: IfNotPresent service: type: ClusterIP client: port: 4222 nodePort: "" monitoring: port: 8222 nodePort: "" cluster: port: 6222 config: jetstream: enabled: false storeDir: /data/jetstream maxMemoryStore: 128Mi maxFileStore: 1Gi auth: enabled: false username: "" password: "" persistence: enabled: false storageClass: "" accessMode: ReadWriteOnce size: 1Gi resources: {} No newline at end of file