Skip to content

Commit

Permalink
Merge pull request #92 from AKASHNIHAS/main
Browse files Browse the repository at this point in the history
Updated climon,config-worker,deployment-worker deployment & values.yaml
  • Loading branch information
jebjohns authored May 20, 2023
2 parents bb9dcd4 + 5eba9b7 commit 73f03d9
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/kad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.16
version: 0.1.17

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
15 changes: 9 additions & 6 deletions charts/kad/templates/climon-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@ spec:
- name: CASSANDRA_TABLE_NAME
value: "{{ .Values.cassandra.name }}"
- name: CASSANDRA_USERNAME
value: "{{ .Values.cassandra.username }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "username"
- name: CASSANDRA_PASSWORD
value: "{{ .Values.cassandra.password }}"
# valueFrom:
# secretKeyRef:
# name: "{{ .Values.cassandra.secretName }}"
# key: "password"
#value: "{{ .Values.cassandra.password }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "password"
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
15 changes: 9 additions & 6 deletions charts/kad/templates/config-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@ spec:
- name: CASSANDRA_TABLE_NAME
value: "{{ .Values.cassandra.name }}"
- name: CASSANDRA_USERNAME
value: "{{ .Values.cassandra.username }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "username"
- name: CASSANDRA_PASSWORD
value: "{{ .Values.cassandra.password }}"
# valueFrom:
# secretKeyRef:
# name: "{{ .Values.cassandra.secretName }}"
# key: "password"
#value: "{{ .Values.cassandra.password }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "password"
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
15 changes: 9 additions & 6 deletions charts/kad/templates/deployment-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@ spec:
- name: CASSANDRA_TABLE_NAME
value: "{{ .Values.cassandra.name }}"
- name: CASSANDRA_USERNAME
value: "{{ .Values.cassandra.username }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "username"
- name: CASSANDRA_PASSWORD
value: "{{ .Values.cassandra.password }}"
# valueFrom:
# secretKeyRef:
# name: "{{ .Values.cassandra.secretName }}"
# key: "password"
#value: "{{ .Values.cassandra.password }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.cassandra.secretName }}"
key: "password"
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
5 changes: 2 additions & 3 deletions charts/kad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ argocd:

# Attributes to be added
cassandra:
username: user
secretName: "temporal-default-store"
serviceURL: "temporal-cassandra"
secretName: "temporal-superuser"
serviceURL: "temporal-temporal-service"
keyspaceName: "capten"
tableName: "tools"

0 comments on commit 73f03d9

Please sign in to comment.