#---------------- Chaincode Deployment ---------------------
apiVersion: apps/v1 # for versions before 1.8.0 use apps/v1beta1
kind: Deployment
metadata:
  name: chaincode-utilityemissions
  labels:
    app: chaincode-utilityemissions
spec:
  selector:
    matchLabels:
      app: chaincode-utilityemissions
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: chaincode-utilityemissions
    spec:
      containers:
        - image: krybalko/utilityemissions-chaincode:0.0.2
          name: chaincode-utilityemissions
          imagePullPolicy: Always
          env:
            - name: CHAINCODE_CCID
              value: "utilityemissions:0ee431100d9b7ab740c0e72ec86db561b052fd1b9b1e47de198bbabd0954ee97"
            - name: CHAINCODE_ADDRESS
              value: "0.0.0.0:7052"
          ports:
            - containerPort: 7052

