Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions helm/flowforge/templates/emqx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,14 @@ spec:
}
}
}
api_key {
bootstrap_file = "/mounted/config/api-keys"
}
bootstrapAPIKeys:
- secretRef:
key:
secretName: emqx-config-secrets
secretKey: api-key-name
secret:
secretName: emqx-config-secrets
secretKey: api-key-secret
coreTemplate:
spec:
{{- if .Values.forge.registrySecrets }}
Expand Down Expand Up @@ -215,7 +220,8 @@ metadata:
type: Opaque
data:
EMQX_DASHBOARD__DEFAULT_PASSWORD: {{ "topSecret" | b64enc | quote }}
api-keys: {{ "flowfuse:verySecret:administrator" | b64enc | quote }}
api-key-name: {{ "flowfuse" | b64enc | quote }}
apit-key-secret: {{ "verySecret" | b64enc | quote }}
Copy link
Contributor

@flecoufle flecoufle Nov 8, 2024

Choose a reason for hiding this comment

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

@hardillb probably a small typo ? apit -> api
sorry yes fixed by#496

---
{{- end }}
apiVersion: networking.k8s.io/v1
Expand Down
Loading