skip to Main Content

invalid characters when using json object in gitlab

this is the code that i used in gitlab bash: kubectl --kubeconfig=$KUBECONFIG -n $NAMESPACE_NAME patch service $CI_PROJECT_NAME -p '{"spec": {"selector": {"app.kubernetes.io/instance": "${HELM_NAME}-blue"}}}' But when deploying, the following error is shown: Error from server (BadRequest): invalid character 's' looking for beginning…

VIEW QUESTION

Cannot mount volumes inside docker-compose

I have this docker compose in my repo version: "3.9" services: service: image: <REGISTRIY_LINK_TO_IMG> platform: linux/x86_64 build: context: . dockerfile: Dockerfile ports: - "8080:8080" - "8081:8081" gql-schema-verify: image: <REGISTRIY_LINK_TO_IMG> entrypoint: [] volumes: - ./service/src/main/resources/graphql:/home/node/updated environment: - VALIDATED_SERVICE=core command: /bin/bash validate…

VIEW QUESTION
Back To Top
Search