Files
zeekay bd81b9f2e2 canonical: hanzoai imports + hanzo.ai CRD group (de-fission)
Module github.com/fission/fission -> github.com/hanzoai/functions (288 files).
CRD API group fission.io -> hanzo.ai (67 files): functions.hanzo.ai,
environments.hanzo.ai, httptriggers.hanzo.ai, messagequeuetriggers.hanzo.ai,
joining apps.hanzo.ai under the one house group. Doc URLs preserved. Builds green.

Matches the cloud contract: clients/functions, /v1/functions, App CR role
"function". Remaining: fork the env images + the live CRD-group migration
(demo-only today, low risk).
2026-07-19 23:37:32 -07:00

70 lines
1.8 KiB
YAML

apiVersion: hanzo.ai/v1
kind: Environment
metadata:
creationTimestamp: null
name: nodep
namespace: default
spec:
terminationGracePeriod: 360
builder: {}
keeparchive: false
poolsize: 3
resources: {}
runtime:
image: ghcr.io/fission/node-env
container:
name: nodep
volumeMounts:
- name: cvol
mountPath: /etc/cvoldata
readOnly: true
podspec:
hostname: foo-bar
# A container which will be merged with for pool manager
containers:
- name: nodep
image: ghcr.io/fission/node-env
volumeMounts:
- name: funcvol
mountPath: /etc/funcdata
readOnly: true
# A additional container in the pods
- name: yanode
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'sleep 36000000000']
# Init container before function
initContainers:
- name: init-node
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'cat /etc/infopod/labels']
volumeMounts:
- name: infopod
mountPath: /etc/infopod
readOnly: false
tolerations:
- key: "reservation"
operator: "Equal"
value: "fission"
effect: "NoSchedule"
# Additional volumes
volumes:
- name: infopod
downwardAPI:
items:
- path: "labels"
fieldRef:
fieldPath: metadata.labels
- name: funcvol
downwardAPI:
items:
- path: "labels"
fieldRef:
fieldPath: metadata.labels
- name: cvol
downwardAPI:
items:
- path: "labels"
fieldRef:
fieldPath: metadata.labels
version: 1