Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .kl.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .tools/__http__/auth/auth.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ query: |
email
providerGitlab
providerGithub
verified
}
}

Expand Down Expand Up @@ -229,3 +230,12 @@ query: |
variables:
token:

---
query: |+
query ListOAuthProviders {
auth_listOAuthProviders {
provider
enabled
}
}
---
33 changes: 22 additions & 11 deletions .tools/__http__/console/apps.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,35 @@ global:
# namespace: "sample-nxtcoder17"
accountName: kloudlite-dev
# namespace: kl-init-operators
namespace: sample-default
# namespace: sample-default
namespace: sample-5828
name: s1
---

label: List Apps
query: |+
query Core_listApps($namespace: String!) {
core_listApps(namespace: $namespace) {
syncStatus {
state
generation
lastSyncedAt
syncScheduledAt
query Core_listApps($namespace: String!, $pq: PaginationQueryArgs) {
core_listApps(namespace: $namespace, pq: $pq) {
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
}
}
metadata {
name
generation
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}
variables:
Expand Down
29 changes: 20 additions & 9 deletions .tools/__http__/console/configs.graphql.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
---
global:
namespace: sample
name: s1
# name: s1
namespace: sample-5828
---

label: List Configs
query: |+
query Core_listConfigs($namespace: String!) {
core_listConfigs(namespace: $namespace) {
metadata {
name
namespace
generation
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
}
}
data
syncStatus {
state
generation
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}
variables:
Expand Down
9 changes: 9 additions & 0 deletions .tools/__http__/console/msvc.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ global:
name: s1
---

label: List Managed Service Templates
query: |+
query Core_listMsvcTemplates {
core_listManagedServiceTemplates
}

---

label: List Managed Services
query: |+
query Core_listRouters($namespace: String!) {
Expand Down Expand Up @@ -95,4 +103,5 @@ query: |+
variables:
namespace: '{{.namespace}}'
name: "{{.name}}"

---
47 changes: 45 additions & 2 deletions .tools/__http__/console/projects.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,44 @@ global:
name: sample
---

label: List Projects 2
query: |+
query Core_listProjects($clusterName: String, $pq: PaginationQueryArgs) {
core_listProjects(clusterName: $clusterName, pq: $pq) {
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}
variables:
# pq:
# first: 2
# # before: NjQ2ZjAzYzdhMWE2OTI2MDhhODdlN2U5
# # before: NjQ2ZjAzYzdhMWE2OTI2MDhhODdlN2U5
# # after: NjQ2ZGU4MWRkMTM2NGYwZjBlYmE4MmVh
#
# orderBy: metadata.name
# sortBy: ASC

---

label: List Projects
query: |+
query Core_listProjects {
Expand Down Expand Up @@ -63,12 +101,17 @@ query: |+
}
variables:
project:
apiVersion: core.kloudlite.io/v1alpha1
kind: Project
accountName: "{{.accountName}}"
clusterName: "{{.clusterName}}"
metadata:
name: "{{.name}}"
name: "{{.name}}z"
generation: 1
spec:
clusterName: "{{.clusterName}}"
accountName: "{{.accountName}}"
targetNamespace: "{{.targetNamespace}}"
targetNamespace: "{{.targetNamespace}}x"
---

label: Update Project
Expand Down
33 changes: 23 additions & 10 deletions .tools/__http__/console/routers.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,32 @@ label: List Routers
query: |+
query Core_listRouters($namespace: String!) {
core_listRouters(namespace: $namespace) {
metadata {
name
namespace
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
spec {
ingressClass
domains
}
}
}
spec {
domains
}
syncStatus {
state
# error
generation
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}

}
variables:
namespace: "{{.projectNamespace}}"
Expand Down
31 changes: 22 additions & 9 deletions .tools/__http__/console/secrets.graphql.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
---
global:
namespace: sample
name: s1
# name: s1
namespace: sample-5828
---

label: List Secrets
query: |+
query Core_listSecrets($namespace: String!) {
core_listSecrets(namespace: $namespace) {
metadata {
name
namespace
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
data
stringData
}
}
data
stringData
syncStatus {
state
generation
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}
variables:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,33 @@ global:
envTargetNamespace: "sample-nxtcoder17"
---

label: List Environments
label: List Workspaces
query: |+
query Core_listWorkspaces($namespace: String!) {
core_listWorkspaces(namespace: $namespace) {
kind
metadata {
name
labels
namespace
}
spec {
projectName
query Core_listWorkspaces($namespace: String!, $pq: PaginationQueryArgs) {
core_listWorkspaces(namespace: $namespace, pq: $pq) {
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
spec {
targetNamespace
}
}
}
status {
isReady
checks
}
syncStatus {
state
error
action
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}
variables:
Expand Down
29 changes: 29 additions & 0 deletions .tools/__http__/infra/byoc-clusters.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,35 @@ global:

---

label: List BYOC Clusters
query: |+
query Infra_listBYOCClusters {
infra_listBYOCClusters {
edges {
cursor
node {
creationTime
apiVersion
kind
metadata {
name
namespace
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount

}
}

---

label: Create BYOC
query: |+
mutation Infra_createBYOCCluster($cluster: BYOCClusterIn!) {
Expand Down
Loading