Skip to content

Conversation

@slydlake
Copy link

I tried to run the newt tunnel with metrics, but there were always an error. I saw that the service-metrics.yaml has not a root element, like the other template yaml. So I added this and now it is working.

I used the following release.yaml

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: pangolin-newt
  namespace: network
spec:
  chart:
    spec:
      chart: newt
      version: ">= 0.1.0"
      sourceRef:
        kind: HelmRepository
        name: fossorial
        namespace: flux-system
      interval: 12h
  interval: 5m
  timeout: 10m
  rollback:
    timeout: 5m
  values:
    global:
      image:
        registry: "docker.io"
        repository: "fosrl/newt"
        tag: ""
        imagePullPolicy: IfNotPresent
      nameOverride: ""
      fullnameOverride: ""
      metrics:
        enabled: true
        service:
          enabled: true
        serviceMonitor:
          enabled: true
        prometheusRule:
          enabled: true
          namespace: "monitoring"
    newtInstances:
      - name: "main-tunnel"
        enabled: true
        auth:
          existingSecretName: "pangolin-secrets"

Also I added in the values.yaml the "enabled: false" value for reference. I look a very long time why it is not working. The "QUICKSTART-NEWT" readme for this is good hidden ;)

Also I bumped to version 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant