-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7774 from madhavajay/madhava/helm_chart
Added syft.build.helm and syft.test.helm tasks to tox
- Loading branch information
Showing
14 changed files
with
1,461 additions
and
14 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
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
19 changes: 19 additions & 0 deletions
19
packages/grid/helm/component-chart/templates/backend-headless.yaml
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,19 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: backend | ||
name: backend-headless | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: web | ||
port: 80 | ||
selector: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app |
148 changes: 148 additions & 0 deletions
148
packages/grid/helm/component-chart/templates/backend.yaml
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,148 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: backend | ||
name: backend | ||
spec: | ||
externalIPs: null | ||
ports: | ||
- name: port-0 | ||
port: 80 | ||
protocol: TCP | ||
targetPort: 80 | ||
selector: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/name: devspace-app | ||
type: ClusterIP | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
name: backend | ||
spec: | ||
podManagementPolicy: OrderedReady | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
serviceName: backend-headless | ||
template: | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
spec: | ||
affinity: null | ||
containers: | ||
- args: null | ||
command: null | ||
env: | ||
- name: MONGO_PORT | ||
value: "27017" | ||
- name: MONGO_HOST | ||
value: mongo | ||
- name: MONGO_USERNAME | ||
value: root | ||
- name: MONGO_PASSWORD | ||
value: example | ||
- name: SERVICE_NAME | ||
value: backend | ||
- name: RELEASE | ||
value: production | ||
- name: VERSION | ||
value: 0.8.1-beta.11 | ||
- name: VERSION_HASH | ||
value: unknown | ||
- name: NODE_TYPE | ||
value: domain | ||
- name: NODE_NAME | ||
value: default_node_name | ||
- name: STACK_API_KEY | ||
value: changeme | ||
- name: PORT | ||
value: "80" | ||
- name: IGNORE_TLS_ERRORS | ||
value: "False" | ||
- name: HTTP_PORT | ||
value: "80" | ||
- name: HTTPS_PORT | ||
value: "443" | ||
- name: CONTAINER_HOST | ||
value: k8s | ||
- name: TRACE | ||
value: "False" | ||
- name: JAEGER_HOST | ||
value: localhost | ||
- name: JAEGER_PORT | ||
value: "14268" | ||
- name: DEV_MODE | ||
value: "False" | ||
- name: DOMAIN_CONNECTION_PORT | ||
value: "3030" | ||
- name: ENABLE_OBLV | ||
value: "false" | ||
- name: DEFAULT_ROOT_EMAIL | ||
value: [email protected] | ||
- name: DEFAULT_ROOT_PASSWORD | ||
value: changethis | ||
- name: BACKEND_STORAGE_PATH | ||
value: /storage | ||
envFrom: null | ||
image: docker.io/openmined/grid-backend:0.8.1-beta.11 | ||
lifecycle: null | ||
livenessProbe: null | ||
name: container-0 | ||
readinessProbe: null | ||
securityContext: null | ||
startupProbe: null | ||
volumeDevices: null | ||
volumeMounts: | ||
- mountPath: /storage | ||
name: credentials-data | ||
readOnly: false | ||
subPath: credentials-data | ||
dnsConfig: null | ||
ephemeralContainers: null | ||
hostAliases: null | ||
imagePullSecrets: null | ||
initContainers: null | ||
nodeName: null | ||
nodeSelector: null | ||
overhead: null | ||
readinessGates: null | ||
securityContext: null | ||
terminationGracePeriodSeconds: 5 | ||
tolerations: null | ||
topologySpreadConstraints: null | ||
volumes: null | ||
volumeClaimTemplates: | ||
- metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/component: backend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
name: credentials-data | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 100Mi |
87 changes: 87 additions & 0 deletions
87
packages/grid/helm/component-chart/templates/frontend.yaml
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,87 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: frontend | ||
name: frontend | ||
spec: | ||
externalIPs: null | ||
ports: | ||
- name: port-0 | ||
port: 80 | ||
protocol: TCP | ||
targetPort: 80 | ||
selector: | ||
app.kubernetes.io/component: frontend | ||
app.kubernetes.io/name: devspace-app | ||
type: ClusterIP | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/component: frontend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
name: frontend | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/component: frontend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
strategy: | ||
type: Recreate | ||
template: | ||
metadata: | ||
annotations: | ||
helm.sh/chart: component-chart-0.8.6 | ||
labels: | ||
app.kubernetes.io/component: frontend | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: devspace-app | ||
spec: | ||
affinity: null | ||
containers: | ||
- args: null | ||
command: null | ||
env: | ||
- name: VERSION | ||
value: 0.8.1-beta.11 | ||
- name: VERSION_HASH | ||
value: unknown | ||
- name: NODE_TYPE | ||
value: domain | ||
- name: NEXT_PUBLIC_API_URL | ||
value: ${NEXT_PUBLIC_API_URL} | ||
envFrom: null | ||
image: docker.io/openmined/grid-frontend:0.8.1-beta.11 | ||
lifecycle: null | ||
livenessProbe: null | ||
name: container-0 | ||
readinessProbe: null | ||
securityContext: null | ||
startupProbe: null | ||
volumeDevices: null | ||
volumeMounts: null | ||
dnsConfig: null | ||
ephemeralContainers: null | ||
hostAliases: null | ||
imagePullSecrets: null | ||
initContainers: null | ||
nodeName: null | ||
nodeSelector: null | ||
overhead: null | ||
readinessGates: null | ||
securityContext: null | ||
terminationGracePeriodSeconds: 5 | ||
tolerations: null | ||
topologySpreadConstraints: null | ||
volumes: null |
Oops, something went wrong.