Sam Garvis
08/15/2022, 3:15 PMJeff Hale
08/15/2022, 3:25 PMSam Garvis
08/15/2022, 3:28 PMReason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '548332e2-208f-4cde-9bd6-b6a76b63bc11', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '75bc4772-0e03-4b73-8452-8ae803c4c9db', 'X-Kubernetes-Pf-Prioritylevel-Uid': '33eac375-8a0a-44de-a86b-8769461b5c93', 'Date': 'Mon, 15 Aug 2022 14:51:58 GMT', 'Content-Length': '331'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch is forbidden: User \"system:serviceaccount:dev-prefect:dev-prefect-agent-1\" cannot create resource \"jobs\" in API group \"batch\" in the namespace \"dev-prefect\"","reason":"Forbidden","details":{"group":"batch","kind":"jobs"},"code":403}
prefectVersionTag: 2.0.4-python3.10
replicaCount: 4
image:
repository: samgarvis/prefect20_dockerfile
tag: latest
pullPolicy: Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/>
##
# pullSecrets:
# - myRegistrKeySecretName
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
config:
apiUrl: <https://api.prefect.cloud>
accountId: "XXXXXXXXXXXXXXXXXX"
workspaceName: "XXXXXXXXXXXXXXXXXX"
workQueueName: "XXXXXXXXXXXXXXXXXX"
debugEnabled: true
# -- Prefect cloud API key
apiKeySecret:
name: prefect-dev-service-secret
key: prefect-dev-service-key
securityContext: {}
# The securityContext this Pod should use. See <https://kubernetes.io/docs/concepts/policy/security-context/> for more.
# runAsUser: 65534
nodeSelector: {}
affinity: {}
tolerations: []
annotations: {}
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
podLabels: {}
nameOverride: ""
fullnameOverride: ""
Yes, sorryBianca Hoch
08/15/2022, 4:48 PMSam Garvis
08/15/2022, 5:00 PMChristopher Boyd
08/15/2022, 6:42 PM--namespace
, or through exporting and adding.
This sets the global namespace for all config files in the chartNate
08/15/2022, 7:49 PMSam Garvis
08/15/2022, 10:39 PM