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: 14 additions & 0 deletions .kl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: v1
name: Sample
mres: []
configs:
- id: cfg-eya4-w4c6zyrspkj35xq5wzhw17t
name: sample
env:
- key: SAMPLE_CONFIG
refkey: SAMPLE_CONFIG
secrets: []
env:
- key: SAMPLE_ENV
value: sample_value
ports: []
10 changes: 0 additions & 10 deletions .tools/__http__/auth/auth.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ query: |
email
providerGitlab
providerGithub
verified
}
}

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

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

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

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

label: List Workspaces
label: List Environments
query: |+
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
}
}
query Core_listWorkspaces($namespace: String!) {
core_listWorkspaces(namespace: $namespace) {
kind
metadata {
name
labels
namespace
}
spec {
projectName
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
status {
isReady
checks
}
syncStatus {
state
error
action
}
totalCount
}
}
variables:
Expand Down
9 changes: 0 additions & 9 deletions .tools/__http__/console/msvc.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ 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 @@ -103,5 +95,4 @@ query: |+
variables:
namespace: '{{.namespace}}'
name: "{{.name}}"

---
47 changes: 2 additions & 45 deletions .tools/__http__/console/projects.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,6 @@ 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 @@ -101,17 +63,12 @@ query: |+
}
variables:
project:
apiVersion: core.kloudlite.io/v1alpha1
kind: Project
accountName: "{{.accountName}}"
clusterName: "{{.clusterName}}"
metadata:
name: "{{.name}}z"
generation: 1
name: "{{.name}}"
spec:
clusterName: "{{.clusterName}}"
accountName: "{{.accountName}}"
targetNamespace: "{{.targetNamespace}}x"
targetNamespace: "{{.targetNamespace}}"
---

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

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

label: List Secrets
query: |+
query Core_listSecrets($namespace: String!) {
core_listSecrets(namespace: $namespace) {
edges {
cursor
node {
creationTime
accountName
apiVersion
kind
metadata {
name
namespace
}
data
stringData
}
metadata {
name
namespace
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
data
stringData
syncStatus {
state
generation
}
totalCount
}
}
variables:
Expand Down
29 changes: 0 additions & 29 deletions .tools/__http__/infra/byoc-clusters.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,6 @@ 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