Skip to content

Commit

Permalink
Merge pull request #321 from STCLab-Inc/main
Browse files Browse the repository at this point in the history
Adding Wave Autoscale to the Partners
  • Loading branch information
mikemcd3912 authored Dec 12, 2024
2 parents ad3ec57 + 6faae64 commit e82551a
Show file tree
Hide file tree
Showing 7 changed files with 409 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wa-external-secret
namespace: wave-autoscale
spec:
refreshInterval: 1m
secretStoreRef:
name: eksa-secret-store #The secret store name we have just created.
kind: ClusterSecretStore
target:
name: wa-secret # Secret name in k8s
data:
- secretKey: WA_LICENSE
remoteRef:
key: WA_LICENSE
- secretKey: GHRC_TOKEN
remoteRef:
key: GHRC_TOKEN
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: wave-autoscale
labels:
aws.conformance.vendor: STCLab
aws.conformance.vendor-solution: wave-autoscale
aws.conformance.vendor-solution-version: 1.10.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: wave-autoscale-agent-helm
namespace: flux-system
spec:
interval: 30s
url: https://release.waveautoscale.io/ghcr-helm/wa-agent
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: wave-autoscale-agent
namespace: wave-autoscale
spec:
chart:
spec:
chart: wave-autoscale-agent-helm
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: wave-autoscale-agent-helm
namespace: flux-system
version: 1.8.0
interval: 1m0s
targetNamespace: wave-autoscale
values:
ghcr:
enabled: true
spec:
agent:
resources:
requests:
cpu: 100m
memory: 50Mi
cadvisor:
resources:
requests:
cpu: 50m
memory: 50Mi
valuesFrom:
- kind: Secret
name: wa-secret
valuesKey: GHRC_TOKEN
targetPath: ghcr.dockerconfigjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: wave-autoscale-helm
namespace: flux-system
spec:
interval: 30s
url: https://release.waveautoscale.io/ghcr-helm/wa
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: wave-autoscale
namespace: wave-autoscale
spec:
chart:
spec:
chart: wave-autoscale-helm
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: wave-autoscale-helm
namespace: flux-system
version: 1.10.2
interval: 1m0s
targetNamespace: wave-autoscale
values:
ghcr:
enabled: true
spec:
core:
resources:
requests:
cpu: 250m
memory: 300Mi
env:
- name: WA_LICENSE
valueFrom:
secretKeyRef:
name: wa-secret
key: WA_LICENSE
- name: WA_API_SERVER_HOST
value: "0.0.0.0"
webConsole:
resources:
requests:
cpu: 250m
memory: 300Mi
autopilot:
resources:
requests:
cpu: 250m
memory: 300Mi
valuesFrom:
- kind: Secret
name: wa-secret
valuesKey: GHRC_TOKEN
targetPath: ghcr.dockerconfigjson
Loading

0 comments on commit e82551a

Please sign in to comment.