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
2 changes: 1 addition & 1 deletion .tools/nvim/__http__/auth/auth.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ query: |
}
}
variables:
code: "**************"
code: "************"
provider: github
state: "************"
---
Expand Down
13 changes: 6 additions & 7 deletions .tools/nvim/__http__/infra/cloud-provider-secrets.graphql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
global:
accountName: kloudlite-dev
clusterName: sample-cluster

providerNamespace: kl-account-kloudlite-dev
providerName: aws-creds2
providerName: aws-creds

---

Expand All @@ -22,7 +18,7 @@ variables:
name: "{{.providerName}}"
cloudProviderName: aws
aws:
awsAccountId: "{{.awsAccountId}}"
authMechanism: "secret_keys"
---

label: Update Cloud Provider Secret
Expand All @@ -39,7 +35,10 @@ variables:
name: "{{.providerName}}"
cloudProviderName: aws
aws:
awsAccountId: "{{.awsAccountId}}"
authMechanism: "secret_keys"
authSecretKeys:
accessKey: "{{.accessKey}}"
secretKey: "{{.secretKey}}"

---

Expand Down
12 changes: 7 additions & 5 deletions .tools/nvim/__http__/infra/clusters.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ variables:
spec:
cloudflareEnabled: true
availabilityMode: dev
credentialsRef:
name: "{{.providerSecretName}}"
namespace: "{{.providerSecretNamespace}}"
cloudProvider: aws
aws:
region: eu-north-1
credentials:
authMechanism: "secret_keys"
secretRef:
name: "{{.providerSecretName}}"
namespace: "{{.providerSecretNamespace}}"
region: ap-south-1
k3sMasters:
instanceType: c5a.large
instanceType: c6a.large
nvidiaGpuEnabled: false

---
Expand Down
6 changes: 3 additions & 3 deletions .tools/nvim/__http__/infra/nodepools.graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variables:
clusterName: "{{.clusterName}}"
pool:
displayName: sample
stateful: false
# stateful: false
metadata:
name: first
spec:
Expand Down Expand Up @@ -155,7 +155,7 @@ variables:
---

label: List Nodepools
query: |+
query: |+ #graphql
query Infra_listNodePools($clusterName: String!) {
infra_listNodePools(clusterName: $clusterName) {
totalCount
Expand Down Expand Up @@ -200,7 +200,7 @@ variables:

---
label: Get Nodepool
query: |+
query: |+ #graphql
query Infra_getNodePool($clusterName: String!, $poolName: String!) {
infra_getNodePool(clusterName: $clusterName, poolName: $poolName) {
accountName
Expand Down
6 changes: 5 additions & 1 deletion apps/infra/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,13 @@ tasks:
- go run main.go --dev
# - go build -o bin/infra . && ./bin/infra --dev

build:
gen:constants:
cmds:
- go generate ./internal/entities/field-constants/gen.go

build:
cmds:
- task: gen:constants
- task: go:build
vars:
Out: ./bin/{{.app}}
Expand Down
29 changes: 0 additions & 29 deletions apps/infra/http/gql.http

This file was deleted.

16 changes: 4 additions & 12 deletions apps/infra/internal/app/graph/cloudprovidersecret.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading