Skip to content

Commit

Permalink
use secret for aptos config
Browse files Browse the repository at this point in the history
  • Loading branch information
josedev-union committed Dec 2, 2024
1 parent 5781f78 commit ce96073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/aptos-indexer-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ spec:
spec:
volumes:
- name: config-template
configMap:
name: {{ include "aptos-indexer.fullname" . }}-config
secret:
secretName: {{ include "aptos-indexer.fullname" . }}-config
- name: config-volume
emptyDir: {}
initContainers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
kind: Secret
metadata:
name: {{ include "aptos-indexer.fullname" . }}-config
labels:
app: {{ include "aptos-indexer.name" . }}
data:
stringData:
indexer.yaml: |
health_check_port: {{ .Values.healthCheckPort }}
server_config:
Expand Down

0 comments on commit ce96073

Please sign in to comment.