I have Barcode Buddy running in a k3s home cluster and am trying to set the external url so that the header link will work properly. As specified in the documentation, I have set the environment variable BBUDDY_EXTERNAL_GROCY_URL to my external URL "https://example.website.us/" I have also set BBUDDY_OVERRIDDEN_USER_CONFIG to use the internal k8s service for grocy, with a value like "GROCY_API_URL=http://grocy:8080/api/;GROCY_API_KEY=$(GROCY_API_KEY)" and that seems to be working properly, but the external URL in the header is set to "http://grocy:8080" despite the external url config. My helm chart is as below:
apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "grocy.fullname" . }}-barcode-buddy namespace: {{ .Release.Namespace }} labels: app: barcode-buddy spec: selector: matchLabels: app: barcode-buddy template: metadata: labels: app: barcode-buddy spec: containers: - image: {{ .Values.barcodebuddy.image.repository}}:{{ .Values.barcodebuddy.image.tag }} name: barcode-buddy env: - name: GROCY_API_KEY value: {{ .Values.barcodebuddy.config.env.GROCY_API_KEY }} - name: BBUDDY_OVERRIDDEN_USER_CONFIG value: {{ .Values.barcodebuddy.config.env.BBUDDY_OVERRIDDEN_USER_CONFIG }} - name: TZ value: {{ .Values.barcodebuddy.config.env.TZ | default "UTC" }} - name: BBUDDY_EXTERNAL_GROCY_URL value: {{ .Values.barcodebuddy.config.env.BBUDDY_EXTERNAL_GROCY_URL | quote }} - name: ATTACH_BARCODESCANNER value: {{ .Values.barcodebuddy.config.env.ATTACH_BARCODESCANNER | quote }} ports: - name: http containerPort: 80 protocol: TCP volumeMounts: - mountPath: "/config" name: bbuddy-config imagePullPolicy: {{ .Values.barcodebuddy.image.pullPolicy }} volumes: - name: bbuddy-config persistentVolumeClaim: claimName: {{ .Values.barcodebuddy.persistence.existingVolumeClaim | default "barcodebuddy-config" }}
I have Barcode Buddy running in a k3s home cluster and am trying to set the external url so that the header link will work properly. As specified in the documentation, I have set the environment variable BBUDDY_EXTERNAL_GROCY_URL to my external URL "https://example.website.us/" I have also set BBUDDY_OVERRIDDEN_USER_CONFIG to use the internal k8s service for grocy, with a value like "GROCY_API_URL=http://grocy:8080/api/;GROCY_API_KEY=$(GROCY_API_KEY)" and that seems to be working properly, but the external URL in the header is set to "http://grocy:8080" despite the external url config. My helm chart is as below:
apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "grocy.fullname" . }}-barcode-buddy namespace: {{ .Release.Namespace }} labels: app: barcode-buddy spec: selector: matchLabels: app: barcode-buddy template: metadata: labels: app: barcode-buddy spec: containers: - image: {{ .Values.barcodebuddy.image.repository}}:{{ .Values.barcodebuddy.image.tag }} name: barcode-buddy env: - name: GROCY_API_KEY value: {{ .Values.barcodebuddy.config.env.GROCY_API_KEY }} - name: BBUDDY_OVERRIDDEN_USER_CONFIG value: {{ .Values.barcodebuddy.config.env.BBUDDY_OVERRIDDEN_USER_CONFIG }} - name: TZ value: {{ .Values.barcodebuddy.config.env.TZ | default "UTC" }} - name: BBUDDY_EXTERNAL_GROCY_URL value: {{ .Values.barcodebuddy.config.env.BBUDDY_EXTERNAL_GROCY_URL | quote }} - name: ATTACH_BARCODESCANNER value: {{ .Values.barcodebuddy.config.env.ATTACH_BARCODESCANNER | quote }} ports: - name: http containerPort: 80 protocol: TCP volumeMounts: - mountPath: "/config" name: bbuddy-config imagePullPolicy: {{ .Values.barcodebuddy.image.pullPolicy }} volumes: - name: bbuddy-config persistentVolumeClaim: claimName: {{ .Values.barcodebuddy.persistence.existingVolumeClaim | default "barcodebuddy-config" }}