...

Text file src/edge-infra.dev/pkg/edge/api/graph/schema/bootstrap_queries.graphql

Documentation: edge-infra.dev/pkg/edge/api/graph/schema

     1extend type Mutation {
     2  """
     3  Mutation to get bootstrap manifest for a cluster and create required Service accounts for external secrets and flux
     4  """
     5  bootstrapCluster(
     6    """
     7    The payload of the bootstrap api
     8    """
     9    payload: BootstrapPayload!
    10  ): BootstrapResponse
    11    @hasRole(
    12      roles: [
    13        TOTP_ROLE
    14        EDGE_ORG_ADMIN
    15        EDGE_BANNER_ADMIN
    16        EDGE_BANNER_OPERATOR
    17        EDGE_BOOTSTRAP
    18      ]
    19    )
    20}
    21
    22extend type Query {
    23  "Query to retrieve bootstrap configuration for terminals"
    24  terminalBootstrap(
    25    """
    26    An optional list of MAC Addresses to match against the MAC Addresses registered with the terminal
    27    """
    28    macAddresses: [String!]
    29    """
    30    IEN version/EdgeOS optionally passed in for compatibility checks with infra
    31    """
    32    edgeOSVersion: String
    33  ): TerminalBootstrap @hasRole(roles: [EDGE_TERMINAL])
    34}

View as plain text