Category "yaml"

Found errors in your .gitlab-ci.yml: unknown keys in `extends`

My code for the pipeline is: include: - template: Terraform/Base.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Terr

Incorrect schema for yaml file using Serverless Framework Configuration - expected a string

I am using serverless framework configuration and aws for the serverless.yml file and also the yaml plugin on VSCode and it says that is incorrect type and is e

How to refer the current namespace for the service account in rolebinding yaml

Having a rolebinding with a serviceaccount on the same namespace as subject. Is it possible to specify the current namespace through reference. Something simill

Swagger yaml response html

I need to format my response (examples) in swagger, at the moment I have this but it doesn't work: /** * @swagger * /instance/status: * post: * securi

Iterate over a YAML complex map in helm

I am using Helm v3 and trying to iterate over a complex object/map in a YAML definition file for Kubernetes network policy with the following content:values.ya

OpenCV cannot read manually edited YAML parameters

I manually add a custom matrix to a YAML file for openCV parameters, the problem is it cannot read the matrix and so OpenCV returns none-type. I do not know wha

Disable trigger on branch changes in scheduled trigger

I try to specify in a yml file that a job should be run at 4 every morning if there are changes in the master branch. The yml file starts like: trigger: none s

How can I parse YAML with TAGs?

I have a YAML document like this: steps: - !<!entry> id: Entry-1 actions: [] - !<!replybuttons> id: ReplyButtons-langcheck foot

In a json embedded YAML file - replace only json values using Python

I have a YAML file as follows: api: v1 hostname: abc metadata: name: test annotations: { "ip" : "1.1.1.1", "login" : "fad-login", "vip" : "1.1.1

Looping through a map in helm

I am new to yaml and helm templating and have a question in it. I have the following in my values.yaml file regionInfo: usa: DrRegions: uk region

Workaround for the runOnce deployment strategy while translating Azure YAML Pipeline to GitHub Actions YAML

I am aware that the Azure DevOps strategy "runOnce" does not have an equivalent GitHub Action yet. And I am seeking a workaround for that since I am migrating m

how to solve Parsing expression Lexer error yq

I am using yq for YAML processor. I got this error: Error: Parsing expression: Lexer error: could not match text starting at 1:8 failing at 1:10. unmatched text

how to parse yaml file that contains dictionary and structure at multiple levels in C++

I am trying to parse a yaml file that likes like below in C++: test_case_0: - input: a: 10 b: 5 - output: area: 50 delta: 5 test_case_1: - input

Golang validate a yaml structure

Im a newbie in golang. I am trying to validate a yaml structure prof: res: - ed: app: conf: For that i have read the yaml file using ioutil,

doing a task after a looping YAML template-ized azure devOps pipeline

I have a YAML Azure DevOps pipeline that loops through series of configurations, copying artifacts to various places. What I want to do is, after the looping i

Profiles property is deprecated is properties.yml for Spring-Kafka

I'm configuring the application.yml file in my Spring Kafka MS and I'm getting a notification that the profiles property is deprecated. This 'profiles' property

Reading a vector of maps with yaml-cpp fails

I want to read the following yaml data: camera: response_values: [[0.0: 0.0, 1.0: 1.1, 245.0: 250.1], [0.0: 0.1, 1.0: 1.3, 200.0: 250], [0.0: 0.0, 1.0: 1.1, 24

Diff two yaml files using python

How can I do diff of two YAML files and generate base on this comparison new file? For example: users: - login: user1 first_name: MyUser1 last_name: MyUser1

error parsing loadbalancer.yaml: error converting YAML to JSON: yaml: line 4: found character that cannot start any token

I ran this yaml file using kubectl apply -f loadbalancer.yaml command, but got "error parsing loadbalancer.yaml: error converting YAML to JSON: yaml: line 4: fo

GitHub actions not copying Autosummary folder generated by Sphinx to new branch

I have been trying to create a .yml file to automatically generate python docs with Sphinx and the Autosummary extension. This is supposed to perform just at th