kustomization.yaml
1 apiVersion: kustomize.config.k8s.io/v1beta1 2 kind: Kustomization 3 labels: 4 - pairs: 5 app.kubernetes.io/managed-by: humans 6 app.kubernetes.io/name: b4mad-racing-dev 7 app.kubernetes.io/version: v0.1.0-dev 8 namespace: b4mad-racing-dev 9 resources: 10 - namespace.yaml 11 - ../../base/grafana-v5 12 - ../../base/mosquitto 13 - ../../base/influxdb 14 - ../../base/telegraf 15 - ../../base/postgresql 16 - ../../base/paddock 17 - ingress.yaml 18 generatorOptions: 19 disableNameSuffixHash: true 20 patches: 21 - patch: |- 22 - op: replace 23 path: /spec/ports/0/nodePort 24 value: 31884 25 target: 26 kind: Service 27 name: mosquitto-mqtt 28 - patch: |- 29 - op: replace 30 path: /spec/instances/0/dataVolumeClaimSpec/resources/requests/storage 31 value: "2Gi" 32 - op: replace 33 path: /spec/instances/0/resources/limits/cpu 34 value: "500M" 35 - op: replace 36 path: /spec/instances/0/resources/limits/memory 37 value: "500M" 38 target: 39 kind: PostgresCluster 40 name: db 41 - patch: |- 42 - op: replace 43 path: /spec/resources/requests/storage 44 value: "2Gi" 45 target: 46 kind: PersistentVolumeClaim 47 name: influxdb2 48 - patch: |- 49 - op: replace 50 path: /spec/template/spec/containers/0/resources/limits/cpu 51 value: "500m" 52 - op: replace 53 path: /spec/template/spec/containers/0/resources/limits/memory 54 value: "500M" 55 target: 56 kind: Deployment 57 name: influxdb2 58 images: 59 - name: paddock 60 newName: image-registry.openshift-image-registry.svc:5000/b4mad-racing/paddock 61 newTag: latest