apiVersion: v1
kind: Pod
metadata:
 name: component-nodejs-build-webpack
spec:
 containers:
 - name: webpack
   image: hub.opshub.sh/containerops/build-nodejs-webpack:latest
   env:
   - name: CO_DATA
     value: "git_url=https://github.com/yangkghjh/try_react.git config=webpack.production.config.js"
   resources:
     requests:
       cpu: 2
       memory: 4G
 restartPolicy: Never