Skip to content

Commit

Permalink
Merge pull request #110 from openinfradev/add-prepare-etcd-secret
Browse files Browse the repository at this point in the history
Add prepare-etcd-secret
  • Loading branch information
zugwan authored Aug 10, 2021
2 parents 852cbba + 291127a commit 2358037
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
30 changes: 30 additions & 0 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1153,3 +1153,33 @@ spec:
port: 30901
endpoints: [] # TO_BE_FIXED
wait: true
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
labels:
name: prepare-etcd-secret
name: prepare-etcd-secret
spec:
helmVersion: v3
chart:
type: helmrepo
repository: https://openinfradev.github.io/helm-repo
name: prepare-etcd-secret
version: 0.1.1
releaseName: prepare-etcd-secret
targetNamespace: lma
values:
etcd:
certdir: /etc/kubernetes/pki/etcd
certfile: ca.crt
client_certfile: peer.crt
client_keyfile: peer.key
# master node의 label을 환경에 맞게 적어야함
# ex) "node-role.kubernetes.io/master": ""
nodeSelector: {} # TO_BE_FIXED
# master node에 taint가 있는 경우 필요
# ex) - key: "node-role.kubernetes.io/master"
# effect: "NoSchedule"
# operator: "Exists"
tolerations: [] # TO_BE_FIXED
5 changes: 5 additions & 0 deletions lma/image/image-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,8 @@ charts:

- name: thanos-config
override: {}

- name: prepare-etcd-secret
override:
image.repository: $(registry)/hyperkube
image.tag: v1.18.8

0 comments on commit 2358037

Please sign in to comment.