Category "yaml"

Checking for Duplicates twice over in a File - Python

config.yml example, DBtables: CurrentMinuteLoad: CSV_File: trend.csv Table_Name: currentminuteload GUI image, This may not be the cleanest route to

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

How can we change two values dynamically by using one variable? in yaml script?

we are using gitlab for ci/cd we have two branches for frontend dev branch- workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_B

Use toml file format instead of yaml or json for docker compose... is it possible?

I just wondering about toml support for docker-compose. I've only found following Reddit implementation of toml instead yaml. https://www.reddit.com/r/docker/co

UWP App will not build using windows-latest (windows 2022) on Azure Pipeline

I am trying to build a UWP app using the latest version of windows for my vmImage, currently the build script looks like this: Build script Code # Universal Win

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