Fixed planet templates identation
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
parent
c397be2799
commit
57a9b8f70a
2 changed files with 87 additions and 87 deletions
|
@ -1,41 +1,41 @@
|
||||||
- apiVersion: build.openshift.io/v1
|
apiVersion: build.openshift.io/v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
app.openshift.io/vcs-ref: ""
|
app.openshift.io/vcs-ref: ""
|
||||||
app.openshift.io/vcs-uri: https://github.com/fedora-infra/planet
|
app.openshift.io/vcs-uri: https://github.com/fedora-infra/planet
|
||||||
labels:
|
labels:
|
||||||
app: planet
|
app: planet
|
||||||
app.kubernetes.io/component: planet
|
app.kubernetes.io/component: planet
|
||||||
app.kubernetes.io/instance: planet
|
app.kubernetes.io/instance: planet
|
||||||
app.kubernetes.io/name: planet
|
app.kubernetes.io/name: planet
|
||||||
app.kubernetes.io/part-of: planet-app
|
app.kubernetes.io/part-of: planet-app
|
||||||
name: planet
|
name: planet
|
||||||
spec:
|
spec:
|
||||||
nodeSelector: null
|
nodeSelector: null
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: planet:latest
|
name: planet:latest
|
||||||
postCommit: {}
|
postCommit: {}
|
||||||
resources: {}
|
resources: {}
|
||||||
runPolicy: Serial
|
runPolicy: Serial
|
||||||
source:
|
source:
|
||||||
contextDir: /
|
contextDir: /
|
||||||
git:
|
git:
|
||||||
uri: https://github.com/fedora-infra/planet
|
uri: https://github.com/fedora-infra/planet
|
||||||
type: Git
|
type: Git
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: Dockerfile
|
dockerfilePath: Dockerfile
|
||||||
type: Docker
|
type: Docker
|
||||||
triggers:
|
triggers:
|
||||||
- generic:
|
- generic:
|
||||||
secretReference:
|
secretReference:
|
||||||
name: planet-generic-webhook-secret
|
name: planet-generic-webhook-secret
|
||||||
type: Generic
|
type: Generic
|
||||||
- github:
|
- github:
|
||||||
secretReference:
|
secretReference:
|
||||||
name: planet-github-webhook-secret
|
name: planet-github-webhook-secret
|
||||||
type: GitHub
|
type: GitHub
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
- apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: planet
|
||||||
|
app.kubernetes.io/component: planet
|
||||||
|
app.kubernetes.io/instance: planet
|
||||||
|
app.kubernetes.io/name: planet
|
||||||
|
app.kubernetes.io/part-of: planet-app
|
||||||
|
name: planet
|
||||||
|
spec:
|
||||||
|
progressDeadlineSeconds: 600
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 10
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
app: planet
|
app: planet
|
||||||
app.kubernetes.io/component: planet
|
strategy:
|
||||||
app.kubernetes.io/instance: planet
|
type: Recreate
|
||||||
app.kubernetes.io/name: planet
|
template:
|
||||||
app.kubernetes.io/part-of: planet-app
|
metadata:
|
||||||
name: planet
|
creationTimestamp: null
|
||||||
spec:
|
labels:
|
||||||
progressDeadlineSeconds: 600
|
|
||||||
replicas: 1
|
|
||||||
revisionHistoryLimit: 10
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: planet
|
app: planet
|
||||||
strategy:
|
deployment: planet
|
||||||
type: Recreate
|
spec:
|
||||||
template:
|
containers:
|
||||||
metadata:
|
- name: planet
|
||||||
creationTimestamp: null
|
image: planet:latest
|
||||||
labels:
|
ports:
|
||||||
app: planet
|
- containerPort: 8080
|
||||||
deployment: planet
|
volumeMounts:
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: planet
|
|
||||||
image: planet:latest
|
|
||||||
ports:
|
|
||||||
- containerPort: 8080
|
|
||||||
volumeMounts:
|
|
||||||
- name: ipa-config-volume
|
|
||||||
mountPath: /etc/ipa
|
|
||||||
readOnly: true
|
|
||||||
- name: keytab-volume
|
|
||||||
mountPath: /etc/keytabs
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
|
||||||
- name: ipa-config-volume
|
- name: ipa-config-volume
|
||||||
configMap:
|
mountPath: /etc/ipa
|
||||||
name: ipa-client-config
|
readOnly: true
|
||||||
- name: keytab-volume
|
- name: keytab-volume
|
||||||
secret:
|
mountPath: /etc/keytabs
|
||||||
secretName: planet-keytab
|
readOnly: true
|
||||||
dnsPolicy: ClusterFirst
|
volumes:
|
||||||
restartPolicy: Always
|
- name: ipa-config-volume
|
||||||
schedulerName: default-scheduler
|
configMap:
|
||||||
securityContext: {}
|
name: ipa-client-config
|
||||||
terminationGracePeriodSeconds: 30
|
- name: keytab-volume
|
||||||
|
secret:
|
||||||
|
secretName: planet-keytab
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
restartPolicy: Always
|
||||||
|
schedulerName: default-scheduler
|
||||||
|
securityContext: {}
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue