I'm trying to run the following kubectl command: kubectl apply -n dev-governance --debug…
- User
I'm trying to run the following kubectl command:
kubectl apply -n dev-governance --debug --dry-run -f upsertConfigurationJob-temp.yaml -o json
but I'm getting the following error: error parsing upsertConfigurationJob-temp.yaml: error converting YAML to JSON: yaml: line 14: mapping values are not allowed in this context
this is the content of the yaml file:
apiVersion: v1 kind: ConfigMap metadata: name: "acmecorp-upsert-configuration-cm" data: configuration.yml: |+ config: auditors: bankb: O=BankB, L=London, C=GB sbgas: O=Swiss Better Gold Association, L=Tannay, C=CH custodians: adsss: O=Advanced Streaming for Sustainable Sources SpA, L=Lampa, C=CL arghe: O=Argor-Heraeus SA, L=Mendrisio, C=CH aurmx: O=AurumX GmbH, L=Munich, C=DE banka: O=BankA, L=London, C=GB bkaha: O=BankAHSA, L=Zurich, C=CH
apiVersion: batch/v1 kind: Job metadata: name: "acmecorp-upsert-configuration-1723716147" spec: backoffLimit: 3 template: spec: imagePullSecrets: - name: regcreds containers: - name: upsert-configuration image: registry.axedras.dev/ax-governance-service:9.0.0 imagePullPolicy: Always
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.