agiledigital / agiledigital/toolform

Add more information to 'Deployment's in OpenShift generator

Đang mở
#34 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Scala
Star
3
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Currently, toolform is missing functionality to output the `strategy` and `triggers` blocks in **spec**, and also the `envFrom`, `args`, or `readinessProbe` blocks in **spec>template>spec>containers** of the `Deployment` sections of the generated OpenShift deployment file.

To illustrate, toolform currently produces deployments with the following sections:
```
apiVersion:
kind:
metadata:
annotations:
source.path:
project.artefact:
name:
spec:
replicas:
template:
metadata:
labels:
component:
spec:
containers:
-
image:
name:
imagePullPolicy:
ports:
- containerPort:
volumeMounts:
- name:
mountPath:
volumes:
- name:
persistentVolumeClaim:
claimName:
```
And the goal is to produce the following (asterisks indicate the missing lines):
```
apiVersion:
kind:
metadata:
annotations:
source.path:
project.artefact:
name:
spec:
strategy: *
type: *
replicas:
triggers: *
- type: *
- type: *
imageChangeParams: *
automatic: *
containerNames: *
- public: *
from: *
kind: *
name: *
template:
metadata:
labels:
component:
spec:
containers:
-

image:
name:
imagePullPolicy:
envFrom: *
- configMapRef: *
name: *
ports:
- containerPort:
args: *
- *
readinessProbe: *
httpGet: *
path: *
port: *
initialDelaySeconds: *
timeoutSeconds: *
volumeMounts:
- name:
mountPath:
volumes:
- name:
persistentVolumeClaim:
claimName:
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.