Change hardcoded type urls from leendersr/deployment-manager to kubernetes/deployment-manager

pull/71/head^2
Robert Leenders 10 years ago
parent f7940f1e6b
commit ebf3a33505

@ -70,7 +70,7 @@ The nginx service is a replicated service with 2 replicas:
``` ```
- name: nginx - name: nginx
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ NGINX_PORT }} service_port: {{ NGINX_PORT }}
container_port: {{ NGINX_PORT }} container_port: {{ NGINX_PORT }}
@ -91,7 +91,7 @@ The wordpress-php service is a replicated service with 2 replicas:
``` ```
- name: wordpress-php - name: wordpress-php
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_name: wordpress-php service_name: wordpress-php
service_port: {{ WORDPRESS_PHP_PORT }} service_port: {{ WORDPRESS_PHP_PORT }}
@ -115,7 +115,7 @@ The MySQL service is a replicated service with a single replica:
``` ```
- name: mysql - name: mysql
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ MYSQL_PORT }} service_port: {{ MYSQL_PORT }}
container_port: {{ MYSQL_PORT }} container_port: {{ MYSQL_PORT }}
@ -136,7 +136,7 @@ The NFS service is a replicated service with a single replica:
``` ```
- name: nfs-server - name: nfs-server
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ NFS_SERVER_PORT }} service_port: {{ NFS_SERVER_PORT }}
container_port: {{ NFS_SERVER_PORT }} container_port: {{ NFS_SERVER_PORT }}

@ -17,10 +17,10 @@
{% set MYSQL_DISK = MYSQL['disk'] or 'mysql-disk' %} {% set MYSQL_DISK = MYSQL['disk'] or 'mysql-disk' %}
{% set MYSQL_DISK_FSTYPE = MYSQL['fstype'] or 'ext4' %} {% set MYSQL_DISK_FSTYPE = MYSQL['fstype'] or 'ext4' %}
imports: imports:
- path: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py - path: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
resources: resources:
- name: nfs-server - name: nfs-server
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ NFS_SERVER_PORT }} service_port: {{ NFS_SERVER_PORT }}
container_port: {{ NFS_SERVER_PORT }} container_port: {{ NFS_SERVER_PORT }}
@ -34,7 +34,7 @@ resources:
pdName: {{ NFS_SERVER_DISK }} pdName: {{ NFS_SERVER_DISK }}
fsType: {{ NFS_SERVER_DISK_FSTYPE }} fsType: {{ NFS_SERVER_DISK_FSTYPE }}
- name: nginx - name: nginx
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ NGINX_PORT }} service_port: {{ NGINX_PORT }}
container_port: {{ NGINX_PORT }} container_port: {{ NGINX_PORT }}
@ -47,7 +47,7 @@ resources:
server: {{ NFS_SERVER_IP }} server: {{ NFS_SERVER_IP }}
path: / path: /
- name: mysql - name: mysql
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_port: {{ MYSQL_PORT }} service_port: {{ MYSQL_PORT }}
container_port: {{ MYSQL_PORT }} container_port: {{ MYSQL_PORT }}
@ -62,7 +62,7 @@ resources:
pdName: {{ MYSQL_DISK }} pdName: {{ MYSQL_DISK }}
fsType: {{ MYSQL_DISK_FSTYPE }} fsType: {{ MYSQL_DISK_FSTYPE }}
- name: wordpress-php - name: wordpress-php
type: https://raw.githubusercontent.com/leendersr/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
properties: properties:
service_name: wordpress-php service_name: wordpress-php
service_port: {{ WORDPRESS_PHP_PORT }} service_port: {{ WORDPRESS_PHP_PORT }}

Loading…
Cancel
Save