-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds dedicated charts for console api, web and provider proxy
- Loading branch information
1 parent
49e8e8e
commit 67a436a
Showing
24 changed files
with
310 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
key.pem | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
{{- if and .Values.doppler (and .Values.doppler.project .Values.doppler.config) }} | ||
apiVersion: secrets.doppler.com/v1alpha1 | ||
kind: DopplerSecret | ||
metadata: | ||
name: {{ .Values.appName }}{{ if .Values.chain }}-{{ .Values.chain }}{{ end }}-dopplersecret | ||
name: {{ .Chart.Name }}-{{ .Values.chain }}-dopplersecret | ||
namespace: doppler-operator-system | ||
spec: | ||
config: {{ .Values.dopplerConfig }} | ||
config: {{ .Release.Namespace }}-{{ .Values.chain }} | ||
managedSecret: | ||
name: {{ .Values.appName }}{{ if .Values.chain }}-{{ .Values.chain }}{{ end }}-secret | ||
namespace: {{ .Values.namespace }} | ||
name: {{ .Chart.Name }}-{{ .Values.chain }}-secret | ||
namespace: {{ .Release.Namespace }} | ||
type: Opaque | ||
project: {{ .Values.doppler.project }} | ||
project: {{ .Chart.Name }} | ||
tokenSecret: | ||
name: console-token-secret | ||
verifyTLS: true | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
chain: mainnet | ||
hostName: console-api-mainnet-staging.akash.network |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
chain: sandbox | ||
hostName: console-api-sandbox-staging.akash.network |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v2 | ||
name: console-web | ||
description: Akash Console-Web Helm Chart | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.1.0 | ||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "2.44.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: console-token-secret | ||
namespace: doppler-operator-system | ||
type: Opaque | ||
stringData: | ||
serviceToken: <YOUR_SECRET> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: {{ .Chart.Name }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app: {{ .Chart.Name }} | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: {{ .Chart.Name }} | ||
template: | ||
metadata: | ||
labels: | ||
app: {{ .Chart.Name }} | ||
spec: | ||
containers: | ||
- name: {{ .Chart.Name }} | ||
image: ghcr.io/akash-network/deploy-web:{{ .Chart.AppVersion }}{{ if eq .Release.Namespace "staging" }}-beta{{ end }} | ||
imagePullPolicy: "Always" | ||
ports: | ||
- containerPort: 3000 | ||
name: api-port | ||
protocol: TCP | ||
env: | ||
- name: PORT | ||
value: "3000" | ||
resources: | ||
limits: | ||
cpu: "1" | ||
ephemeral-storage: "2Gi" | ||
memory: "1Gi" | ||
requests: | ||
cpu: "0.5" | ||
ephemeral-storage: "1Gi" | ||
memory: "512Mi" | ||
envFrom: | ||
- secretRef: | ||
name: {{ .Chart.Name }}-secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: secrets.doppler.com/v1alpha1 | ||
kind: DopplerSecret | ||
metadata: | ||
name: {{ .Chart.Name }}-dopplersecret | ||
namespace: doppler-operator-system | ||
spec: | ||
config: {{ .Release.Namespace }} | ||
managedSecret: | ||
name: {{ .Chart.Name }}-secret | ||
namespace: {{ .Release.Namespace }} | ||
type: Opaque | ||
project: {{ .Chart.Name }} | ||
tokenSecret: | ||
name: console-token-secret | ||
verifyTLS: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ .Chart.Name }}-ingress | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
nginx.ingress.kubernetes.io/proxy-body-size: 100m | ||
nginx.ingress.kubernetes.io/proxy-connect-timeout: "140" | ||
nginx.ingress.kubernetes.io/proxy-read-timeout: "140" | ||
nginx.ingress.kubernetes.io/proxy-send-timeout: "140" | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: {{ .Values.hostName }} | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: {{ .Chart.Name }}-service | ||
port: | ||
name: api-port | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- {{ .Values.hostName }} | ||
secretName: {{ .Chart.Name }}-{{ .Release.Namespace }}-akash-network-tls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ .Chart.Name }}-service | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
selector: | ||
app: {{ .Chart.Name }} | ||
ports: | ||
- protocol: TCP | ||
port: 3000 | ||
targetPort: api-port | ||
name: api-port | ||
type: ClusterIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
namespace: staging | ||
hostName: console-beta.akash.network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v2 | ||
name: provider-proxy | ||
description: Akash Provider Proxy Helm Chart | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.1.0 | ||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "1.4.3" |
Oops, something went wrong.