bh90210 / dron8s

Yet another Kubernetes plugin for Drone using dynamic Server Side Apply to achieve --server-side parity for your CI-CD pipelines
http://plugins.drone.io/bh90210/dron8s
The Unlicense
20 stars 5 forks source link

Is there a plan to parse variable #14

Closed jeessy2 closed 3 years ago

bh90210 commented 3 years ago

hello @jeessy2 can you please be a little more specific as I am not 10/10 sure to what u are referring to?

jeessy2 commented 3 years ago

like this.

kind: pipeline
type: kubernetes
name: dron8s-in-cluster-example
steps:
- name: dron8s
  image: bh90210/dron8s:latest
  settings:
    yaml: ./config.yaml
    # variables. Must be lowercase, Usage: {{.service_name}}
    service_name: myservice
    image_version: 1.8
apiVersion: v1
kind: Service
metadata:
  name: {{.service_name}}
spec:
  type: LoadBalancer
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080
  selector:
    app: hello-kubernetes