Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
7ffa07d8
Commit
7ffa07d8
authored
5 years ago
by
Rajesh
Committed by
rjshrjndrn
5 years ago
Browse files
Options
Download
Patches
Plain Diff
creating ssl secrets
parent
868b0a0c
3node
3node_bak_new
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kubernetes/ansible/bootstrap_minimal.yaml
+15
-0
kubernetes/ansible/bootstrap_minimal.yaml
kubernetes/helm_charts/core/nginx-public-ingress/templates/deployment.yaml
+8
-0
...harts/core/nginx-public-ingress/templates/deployment.yaml
with
23 additions
and
0 deletions
+23
-0
kubernetes/ansible/bootstrap_minimal.yaml
+
15
−
0
View file @
7ffa07d8
...
...
@@ -17,3 +17,18 @@
-
name
:
Creating docker secrets
shell
:
kubectl create secret docker-registry {{ imagepullsecrets }} --namespace {{ namespace }} --docker-server {{ vault_docker_registry_url }} --docker-username {{ vault_docker_registry_user }} --docker-password {{ vault_docker_registry_password }}
when
:
imagepullsecrets|length >
0
-
name
:
Creating domain sssl
shell
:
cmd
:
|
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
name: ingress-cert
namespace: istio-system
type: kubernetes.io/tls
data:
ca.crt: ""
site.crt: "{{ core_vault_proxy_site_crt | b64encode }}"
site.key: "{{ core_vault_proxy_site_key | b64encode }}"
EOF
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/nginx-public-ingress/templates/deployment.yaml
+
8
−
0
View file @
7ffa07d8
...
...
@@ -18,6 +18,10 @@ spec:
-
name
:
{{
.Values.imagepullsecrets
}}
{{
- end
}}
{{
- if .Values.sunbird_portal_player_cdn_enabled
}}
volumes
:
-
name
:
tls
secret
:
secretName
:
ingress-cert
containers
:
-
name
:
name
image
:
"
{{
.Values.dockerhub
}}/{{
.Values.repository
}}:{{
.Values.image_tag
}}"
...
...
@@ -25,6 +29,10 @@ spec:
requests
:
cpu
:
100m
memory
:
200Mi
volumeMounts
:
-
name
:
tls
mountPath
:
/run/secrets
readOnly
:
true
ports
:
-
containerPort
:
80
name
:
http
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets