Category "yaml"

Conditional KinesisStreamSpecification in CloudFormation script

I am new to CloudFoundation scripts and trying to set the conditional attribute for AWS DDB table using the yaml files. Tried with below but getting error durin

Edit yaml files using js function

I am trying to edit a template-yaml file using a js function. The js function will get a name of organization: org and this will replace corresponding values in

Add or remove "References" in TOC at end of each chapter in bookdown::gitbook

I am compiling a bookdown::gitbook and want to include a "References" header for each chapter in the TOC. Currently, I have included a level 2 header titled "Re

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