Commit 9310738e authored by Rajesh's avatar Rajesh Committed by rjshrjndrn
Browse files

fixes for dbs and helm

No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
...@@ -22,8 +22,10 @@ spec: ...@@ -22,8 +22,10 @@ spec:
labels: labels:
app: {{ .Chart.Name }}echo app: {{ .Chart.Name }}echo
spec: spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
- name: {{ .Values.imagepullsecrets }} - name: {{ .Values.imagepullsecrets }}
{{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.dockerhub }}/{{ .Values.apimanagerecho.repository }}:{{ .Values.apimanagerecho.image_tag }}" image: "{{ .Values.dockerhub }}/{{ .Values.apimanagerecho.repository }}:{{ .Values.apimanagerecho.image_tag }}"
......
...@@ -21,8 +21,10 @@ spec: ...@@ -21,8 +21,10 @@ spec:
labels: labels:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
spec: spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
- name: {{ .Values.imagepullsecrets }} - name: {{ .Values.imagepullsecrets }}
{{- endif }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.dockerhub }}/{{ .Values.repository }}:{{ .Values.image_tag }}" image: "{{ .Values.dockerhub }}/{{ .Values.repository }}:{{ .Values.image_tag }}"
......
...@@ -12,7 +12,7 @@ module=Core ...@@ -12,7 +12,7 @@ module=Core
cp $INVENTORY_PATH/$module/* ../ansible/inventory/env/ cp $INVENTORY_PATH/$module/* ../ansible/inventory/env/
# Installing dbs (es, cassandra, postgres) # Installing dbs (es, cassandra, postgres)
ansible-playbook -i ../ansible/inventory/env/ ../ansible/provision.yml --tags postgresql-master #--skip-tags "postgresql-slave,log-es" ansible-playbook -i ../ansible/inventory/env/ ../ansible/provision.yml --tags postgresql-master #--skip-tags "postgresql-slave,log-es"
ansible-playbook -i ../ansible/inventory/env/ ../ansible/postgresql-data-update.yml --tags postgresql-master #--skip-tags "postgresql-slave,log-es" ansible-playbook -i ../ansible/inventory/env/ ../ansible/postgresql-data-update.yml #--skip-tags "postgresql-slave,log-es"
# # Bootstrapping k8s # # Bootstrapping k8s
ansible-playbook -i ../ansible/inventory/env/ ../kubernetes/ansible/bootstrap_minimal.yaml ansible-playbook -i ../ansible/inventory/env/ ../kubernetes/ansible/bootstrap_minimal.yaml
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment