Skip to content

Commit

Permalink
do not hardcode pulumi annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Nov 10, 2023
1 parent 133cff2 commit 00d66e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/tezos-signer-forwarder/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ kind: StatefulSet
metadata:
name: tezos-signer-forwarder-{{ $name}}-{{ $i }}
annotations:
"pulumi.com/skipAwait": "true"
{{- with $.Values.stateful_set_annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: 1
serviceName: tezos-remote-signer-{{ $name }}
Expand All @@ -35,6 +37,7 @@ spec:
configMap:
name: tezos-signer-forwarder-config-{{ $name }}-{{ $i }}
defaultMode: 0444
readOnly: true
- name: secret-volume
secret:
secretName: tezos-signer-forwarder-secret-{{ $.Values.name }}
Expand Down
5 changes: 5 additions & 0 deletions charts/tezos-signer-forwarder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ node_selector: {}
# be used to assign a static ip address.
service_annotations: {}


stateful_set_annotations: {}
# example: this will cause pulumi to not wait for tunnel to be up
# pulumi/skipAwait: true

# Load Balancer IP to set the ssh service.
# In some cloud providers, it is used to assign static ip.
load_balancer_ip: ""
Expand Down

0 comments on commit 00d66e4

Please sign in to comment.