| ... | ... |
@@ -1,13 +1,10 @@ |
| 1 | 1 |
apiVersion: v1beta3 |
| 2 |
-kind: List |
|
| 3 | 2 |
items: |
| 4 | 3 |
- apiVersion: v1beta3 |
| 5 | 4 |
kind: DeploymentConfig |
| 6 | 5 |
metadata: |
| 7 | 6 |
name: gitserver |
| 8 | 7 |
spec: |
| 9 |
- triggers: |
|
| 10 |
- - type: ConfigChange |
|
| 11 | 8 |
replicas: 1 |
| 12 | 9 |
selector: |
| 13 | 10 |
run-container: gitserver |
| ... | ... |
@@ -17,13 +14,9 @@ items: |
| 17 | 17 |
run-container: gitserver |
| 18 | 18 |
spec: |
| 19 | 19 |
containers: |
| 20 |
- - name: gitserver |
|
| 21 |
- image: openshift/origin-gitserver |
|
| 22 |
- ports: |
|
| 23 |
- - containerPort: 8080 |
|
| 24 |
- env: |
|
| 20 |
+ - env: |
|
| 25 | 21 |
- name: PUBLIC_URL |
| 26 |
- value: "http://gitserver.myproject.local:8080" # TODO: this needs to be resolved from env |
|
| 22 |
+ value: http://gitserver.myproject.local:8080 |
|
| 27 | 23 |
- name: GIT_HOME |
| 28 | 24 |
value: /var/lib/git |
| 29 | 25 |
- name: HOOK_PATH |
| ... | ... |
@@ -35,40 +28,43 @@ items: |
| 35 | 35 |
- name: ALLOW_LAZY_CREATE |
| 36 | 36 |
value: "yes" |
| 37 | 37 |
- name: AUTOLINK_CONFIG |
| 38 |
- value: /var/lib/gitsecrets/admin.kubeconfig # TODO: use the service account secret |
|
| 38 |
+ value: /var/lib/gitsecrets/admin.kubeconfig |
|
| 39 | 39 |
- name: AUTOLINK_NAMESPACE |
| 40 |
- #value: # TODO: use env generation |
|
| 41 | 40 |
- name: AUTOLINK_HOOK |
| 42 |
- value: |
|
| 41 |
+ value: null |
|
| 43 | 42 |
- name: REQUIRE_GIT_AUTH |
| 44 |
- #value: user:password # if set, authentication is required to push to this server |
|
| 45 |
- #- name: GIT_INITIAL_CLONE_1 |
|
| 46 |
- # value: |
|
| 47 | 43 |
- name: OPENSHIFTCONFIG |
| 48 |
- value: /var/lib/gitsecrets/admin.kubeconfig # TODO: use the service account secret |
|
| 44 |
+ value: /var/lib/gitsecrets/admin.kubeconfig |
|
| 45 |
+ image: openshift/origin-gitserver |
|
| 46 |
+ name: gitserver |
|
| 47 |
+ ports: |
|
| 48 |
+ - containerPort: 8080 |
|
| 49 | 49 |
volumeMounts: |
| 50 |
- - name: config |
|
| 51 |
- mountPath: /var/lib/gitsecrets/ |
|
| 50 |
+ - mountPath: /var/lib/gitsecrets/ |
|
| 51 |
+ name: config |
|
| 52 | 52 |
readOnly: true |
| 53 | 53 |
volumes: |
| 54 | 54 |
- name: config |
| 55 | 55 |
secret: |
| 56 | 56 |
secretName: gitserver-config |
| 57 |
+ triggers: |
|
| 58 |
+ - type: ConfigChange |
|
| 57 | 59 |
- apiVersion: v1beta3 |
| 58 | 60 |
kind: Secret |
| 59 | 61 |
metadata: |
| 60 | 62 |
name: gitserver-config |
| 61 | 63 |
spec: |
| 62 | 64 |
data: |
| 63 |
- # Needs to be populated |
|
| 64 |
- admin.kubeconfig: |
|
| 65 |
+ admin.kubeconfig: null |
|
| 65 | 66 |
- apiVersion: v1beta3 |
| 66 | 67 |
kind: Service |
| 67 | 68 |
metadata: |
| 68 | 69 |
name: gitserver |
| 69 | 70 |
spec: |
| 70 |
- selector: |
|
| 71 |
- run-container: gitserver |
|
| 72 | 71 |
ports: |
| 73 | 72 |
- port: 8080 |
| 74 | 73 |
targetPort: 8080 |
| 74 |
+ selector: |
|
| 75 |
+ run-container: gitserver |
|
| 76 |
+kind: List |
|
| 77 |
+metadata: {}
|
| ... | ... |
@@ -1,6 +1,7 @@ |
| 1 | 1 |
apiVersion: v1beta3 |
| 2 | 2 |
kind: Pod |
| 3 | 3 |
metadata: |
| 4 |
+ creationTimestamp: null |
|
| 4 | 5 |
name: pod-with-resources |
| 5 | 6 |
spec: |
| 6 | 7 |
containers: |
| ... | ... |
@@ -15,5 +16,8 @@ spec: |
| 15 | 15 |
securityContext: |
| 16 | 16 |
capabilities: {}
|
| 17 | 17 |
privileged: false |
| 18 |
+ terminationMessagePath: /dev/termination-log |
|
| 18 | 19 |
dnsPolicy: ClusterFirst |
| 19 |
- restartPolicy: Always |
|
| 20 | 20 |
\ No newline at end of file |
| 21 |
+ restartPolicy: Always |
|
| 22 |
+ serviceAccount: "" |
|
| 23 |
+status: {}
|
| ... | ... |
@@ -1,6 +1,7 @@ |
| 1 | 1 |
apiVersion: v1beta3 |
| 2 | 2 |
kind: Pod |
| 3 | 3 |
metadata: |
| 4 |
+ creationTimestamp: null |
|
| 4 | 5 |
name: pod-without-resources |
| 5 | 6 |
spec: |
| 6 | 7 |
containers: |
| ... | ... |
@@ -8,8 +9,12 @@ spec: |
| 8 | 8 |
image: gcr.io/google_containers/serve_hostname |
| 9 | 9 |
imagePullPolicy: IfNotPresent |
| 10 | 10 |
name: kubernetes-serve-hostname |
| 11 |
+ resources: {}
|
|
| 11 | 12 |
securityContext: |
| 12 | 13 |
capabilities: {}
|
| 13 | 14 |
privileged: false |
| 15 |
+ terminationMessagePath: /dev/termination-log |
|
| 14 | 16 |
dnsPolicy: ClusterFirst |
| 15 |
- restartPolicy: Always |
|
| 16 | 17 |
\ No newline at end of file |
| 18 |
+ restartPolicy: Always |
|
| 19 |
+ serviceAccount: "" |
|
| 20 |
+status: {}
|
| ... | ... |
@@ -1,11 +1,14 @@ |
| 1 |
+apiVersion: v1beta3 |
|
| 1 | 2 |
kind: ResourceQuota |
| 2 | 3 |
metadata: |
| 4 |
+ creationTimestamp: null |
|
| 3 | 5 |
name: quota |
| 4 | 6 |
spec: |
| 5 | 7 |
hard: |
| 6 | 8 |
cpu: "1" |
| 7 |
- memory: "750Mi" |
|
| 9 |
+ memory: 750Mi |
|
| 8 | 10 |
pods: "10" |
| 9 | 11 |
replicationcontrollers: "10" |
| 10 | 12 |
resourcequotas: "1" |
| 11 |
- services: "10" |
|
| 12 | 13 |
\ No newline at end of file |
| 14 |
+ services: "10" |
|
| 15 |
+status: {}
|
| ... | ... |
@@ -200,6 +200,7 @@ |
| 200 | 200 |
"ruby-helloworld" |
| 201 | 201 |
], |
| 202 | 202 |
"from": {
|
| 203 |
+ "kind": "ImageStreamTag", |
|
| 203 | 204 |
"name": "origin-ruby-sample:latest" |
| 204 | 205 |
}, |
| 205 | 206 |
"lastTriggeredImage": "" |
| ... | ... |
@@ -437,4 +438,4 @@ |
| 437 | 437 |
"labels": {
|
| 438 | 438 |
"template": "application-template-stibuild" |
| 439 | 439 |
} |
| 440 |
-} |
|
| 440 |
+} |
|
| 441 | 441 |
\ No newline at end of file |
| ... | ... |
@@ -1,5 +1,4 @@ |
| 1 |
-apiVersion: v1beta1 |
|
| 2 |
-creationTimestamp: null |
|
| 1 |
+apiVersion: v1beta3 |
|
| 3 | 2 |
items: |
| 4 | 3 |
- apiVersion: v1beta1 |
| 5 | 4 |
kind: BuildConfig |
| ... | ... |
@@ -274,9 +273,9 @@ items: |
| 274 | 274 |
- annotations: |
| 275 | 275 |
deploymentConfig: frontend |
| 276 | 276 |
deploymentStatus: Failed |
| 277 |
- openshift.io/deployment.status-reason: unable to contact server |
|
| 278 | 277 |
deploymentVersion: "2" |
| 279 | 278 |
encodedDeploymentConfig: '{"kind":"DeploymentConfig","apiVersion":"v1beta1","metadata":{"name":"frontend","namespace":"test","selfLink":"/osapi/v1beta1/watch/deploymentConfigs/frontend","uid":"471f24e3-dcdc-11e4-968a-080027c5bfa9","resourceVersion":"346","creationTimestamp":"2015-04-07T04:12:17Z","labels":{"template":"application-template-stibuild"}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["ruby-helloworld"],"from":{"kind":"ImageRepository","name":"origin-ruby-sample"},"tag":"latest","lastTriggeredImage":"172.30.17.139:5000/test/origin-ruby-sample:73214fafa244cb8abbe55273dac5d237a589a5fc7ac09926a1756a42c21e8a58"}}],"template":{"strategy":{"type":"Recreate"},"controllerTemplate":{"replicas":1,"replicaSelector":{"name":"frontend"},"podTemplate":{"desiredState":{"manifest":{"version":"v1beta2","id":"","volumes":null,"containers":[{"name":"ruby-helloworld","image":"172.30.17.139:5000/test/origin-ruby-sample:73214fafa244cb8abbe55273dac5d237a589a5fc7ac09926a1756a42c21e8a58","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"ADMIN_USERNAME","key":"ADMIN_USERNAME","value":"adminNPX"},{"name":"ADMIN_PASSWORD","key":"ADMIN_PASSWORD","value":"7q1IdEao"},{"name":"MYSQL_USER","key":"MYSQL_USER","value":"user1CY"},{"name":"MYSQL_PASSWORD","key":"MYSQL_PASSWORD","value":"FfyXmsGG"},{"name":"MYSQL_DATABASE","key":"MYSQL_DATABASE","value":"root"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"PullIfNotPresent","capabilities":{}}],"restartPolicy":{"always":{}},"dnsPolicy":"ClusterFirst"}},"labels":{"name":"frontend","template":"application-template-stibuild"}}}},"latestVersion":1,"details":{"causes":[{"type":"ImageChange","imageTrigger":{"repositoryName":"172.30.17.139:5000/test/origin-ruby-sample:73214fafa244cb8abbe55273dac5d237a589a5fc7ac09926a1756a42c21e8a58","tag":"latest"}}]}}'
|
| 279 |
+ openshift.io/deployment.status-reason: unable to contact server |
|
| 280 | 280 |
pod: deploy-frontend-17mza9 |
| 281 | 281 |
apiVersion: v1beta1 |
| 282 | 282 |
creationTimestamp: 2015-04-07T04:12:53Z |
| ... | ... |
@@ -523,4 +522,5 @@ items: |
| 523 | 523 |
sessionAffinity: None |
| 524 | 524 |
uid: 4704cf56-dcdc-11e4-968a-080027c5bfa9 |
| 525 | 525 |
kind: List |
| 526 |
-resourceVersion: 592 |
|
| 526 |
+metadata: |
|
| 527 |
+ resourceVersion: "592" |
| ... | ... |
@@ -1,8 +1,4 @@ |
| 1 |
-# |
|
| 2 |
-# A simple build config, deployment config, build, and service. |
|
| 3 |
-# |
|
| 4 |
-apiVersion: v1beta1 |
|
| 5 |
-creationTimestamp: null |
|
| 1 |
+apiVersion: v1beta3 |
|
| 6 | 2 |
items: |
| 7 | 3 |
- apiVersion: v1beta1 |
| 8 | 4 |
kind: BuildConfig |
| ... | ... |
@@ -110,4 +106,5 @@ items: |
| 110 | 110 |
sessionAffinity: None |
| 111 | 111 |
uid: 2b315406-dca0-11e4-aecc-7831c1b76042 |
| 112 | 112 |
kind: List |
| 113 |
-resourceVersion: 116 |
|
| 113 |
+metadata: |
|
| 114 |
+ resourceVersion: "116" |
| ... | ... |
@@ -1,5 +1,4 @@ |
| 1 |
-apiVersion: v1beta1 |
|
| 2 |
-creationTimestamp: null |
|
| 1 |
+apiVersion: v1beta3 |
|
| 3 | 2 |
items: |
| 4 | 3 |
- apiVersion: v1beta1 |
| 5 | 4 |
kind: BuildConfig |
| ... | ... |
@@ -136,3 +135,4 @@ items: |
| 136 | 136 |
sessionAffinity: None |
| 137 | 137 |
uid: 2b315406-dca0-11e4-aecc-7831c1b76042 |
| 138 | 138 |
kind: List |
| 139 |
+metadata: {}
|
| ... | ... |
@@ -1,5 +1,4 @@ |
| 1 |
-apiVersion: v1beta1 |
|
| 2 |
-creationTimestamp: null |
|
| 1 |
+apiVersion: v1beta3 |
|
| 3 | 2 |
items: |
| 4 | 3 |
- apiVersion: v1beta1 |
| 5 | 4 |
kind: BuildConfig |
| ... | ... |
@@ -58,6 +57,17 @@ items: |
| 58 | 58 |
to: |
| 59 | 59 |
kind: ImageStream |
| 60 | 60 |
name: sinatra-app-example |
| 61 |
+ revision: |
|
| 62 |
+ git: |
|
| 63 |
+ author: |
|
| 64 |
+ email: someguy@outhere.com |
|
| 65 |
+ name: Roy Programmer |
|
| 66 |
+ commit: 7a4f354721b0c9717e46f2e132b269b495d43e2b |
|
| 67 |
+ commiter: |
|
| 68 |
+ email: openshiftbot@redhat.com |
|
| 69 |
+ name: openshiftbot |
|
| 70 |
+ message: Prepare v1beta3 Template types |
|
| 71 |
+ type: git |
|
| 61 | 72 |
source: |
| 62 | 73 |
git: |
| 63 | 74 |
uri: git://github.com/mfojtik/sinatra-app-example |
| ... | ... |
@@ -68,17 +78,6 @@ items: |
| 68 | 68 |
clean: true |
| 69 | 69 |
image: openshift/ruby-20-centos7 |
| 70 | 70 |
type: STI |
| 71 |
- revision: |
|
| 72 |
- type: git |
|
| 73 |
- git: |
|
| 74 |
- commit: 7a4f354721b0c9717e46f2e132b269b495d43e2b |
|
| 75 |
- message: Prepare v1beta3 Template types |
|
| 76 |
- commiter: |
|
| 77 |
- name: openshiftbot |
|
| 78 |
- email: openshiftbot@redhat.com |
|
| 79 |
- author: |
|
| 80 |
- name: Roy Programmer |
|
| 81 |
- email: someguy@outhere.com |
|
| 82 | 71 |
startTimestamp: 2015-04-06T21:19:03Z |
| 83 | 72 |
status: Running |
| 84 | 73 |
- apiVersion: v1beta1 |
| ... | ... |
@@ -197,3 +196,4 @@ items: |
| 197 | 197 |
sessionAffinity: None |
| 198 | 198 |
uid: 2b315406-dca0-11e4-aecc-7831c1b76042 |
| 199 | 199 |
kind: List |
| 200 |
+metadata: {}
|