skip to Main Content

Helm convert data for nginx template

Im using the following file by helm apiVersion: v1 kind: ConfigMap metadata: name: nginx-cfg data: default.conf: |- {{ .Files.Get "config/nginx.conf" | nindent 4 }} and I got the following error: Error: YAML parse error on ops/templates/config/nginx.conf: error converting YAML to…

VIEW QUESTION

ruamel_yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/tuple' in "<unicode string>" – Debian

I am trying to download the Kinetics-600 dataset for activity recognition and for that I am following the instructions in this repo: https://github.com/activitynet/ActivityNet However, at the step conda env create -f environment.yml I get this error: ruamel_yaml.constructor.ConstructorError: could not determine…

VIEW QUESTION

Prometheus alertmanager – invalid leading UTF-8 octet – CentOS

I am trying to configure the slack notification from Prometheus alertmanager with below yml. global: resolve_timeout: 1m slack_api_url: 'https://hooks.slack.com/services/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' route: receiver: 'slack-notifications' receivers: - name: 'slack-notifications' slack_configs: - channel: '#monitoring-instances' send_resolved: true icon_url: https://avatars3.githubusercontent.com/u/3380462 title: |- [{{ .Status | toUpper…

VIEW QUESTION
Back To Top
Search