Skip to content

BUG: missing namespace "gpte" #1125

Open
@9strands

Description

Post deploy fails if the namespace "gpte" isn't pre-created before the run:

TASK [k8s_config : k8s opentlc-mgr babylon role-based access control] ************************************************************************************
failed: [localhost] (item=Role([rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1)) opentlc-secret-manager in gpte) => {"_k8s_resources_idx": 0, "ansible_loop_var": "_k8s_resources_idx", "attempts": 1, "changed": false, "error": 404, "msg": "Failed to apply object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"namespaces \\\\\"gpte\\\\\" not found\",\"reason\":\"NotFound\",\"details\":{\"name\":\"gpte\",\"kind\":\"namespaces\"},\"code\":404}\\n'", "reason": "Not Found", "status": 404}
failed: [localhost] (item=RoleBinding([rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1)) opentlc-secret-manager in gpte) => {"_k8s_resources_idx": 1, "ansible_loop_var": "_k8s_resources_idx", "attempts": 1, "changed": false, "error": 404, "msg": "Failed to apply object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"namespaces \\\\\"gpte\\\\\" not found\",\"reason\":\"NotFound\",\"details\":{\"name\":\"gpte\",\"kind\":\"namespaces\"},\"code\":404}\\n'", "reason": "Not Found", "status": 404}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions