Skip to content

Commit

Permalink
chore: helm value
Browse files Browse the repository at this point in the history
  • Loading branch information
archmagece committed Jul 19, 2024
1 parent aac1816 commit aba7aac
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 22 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,30 @@ Proxy, Mirror를 같이 하려고 했는데... 귀찮아서 proxy만 남길 예
한번하면 되지만 설치는 귀찮음
지원되는게 별로 없음

## 초기설정시

### helm/chart-releaser-action
1 하위 디렉토리를 1뎁스 모두 뒤져서 chart.yaml파일을 찾는 방법으로 검증을 하게 되는데
deproxy처럼 helm디렉토리에 차트가 하나 있는 경우는 `.`로 잡아주도록 한다
```
with:
chart_path: ./charts
```
2 gh-pages 브랜치
초기에 브랜치가 없으면 만들어줘야한다.
https://stackoverflow.com/questions/34100048/create-empty-branch-on-github
```bash
git switch --orphan gh-pages
git commit --allow-empty -m "orphan gh-pages"
git push -u origin gh-pages
```

3 release네임이 겹치면 안된다. 자동업데이트 하도록
해야하지만 안하겟다

4 푸시할 때 마다 너무 쌓이니까 오래된걸 지우도록
해야할 것 같지만 나중에 경고가 뜨면 생각 해 보겠다

## 사용법

대강 이런걸 어느 경로에 저장할까 고민으 좀 해 보는 중
Expand Down
41 changes: 20 additions & 21 deletions helm/values-sample-k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ securityContext: {}

service:
type: ClusterIP
port: 80
port: 8080

ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
enabled: true
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
cert-manager.io/cluster-issuer: letsencrypt-prd
hosts:
- host: chart-example.local
- host: deproxy.example.com.kr
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
pathType: Prefix
tls:
- secretName: deproxy-key
hosts:
- deproxy.example.com.kr

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand All @@ -76,17 +76,16 @@ readinessProbe:
port: http

# Additional volumes on the output Deployment definition.
volumes: []
# - name: foo
# secret:
# secretName: mysecret
# optional: false
volumes:
- name: deproxy-base-dir
hostPath:
path: /work/deproxy
type: Directory

# Additional volumeMounts on the output Deployment definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true
volumeMounts:
- name: deproxy-base-dir
mountPath: /storage

nodeSelector: {}

Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ securityContext: {}

service:
type: ClusterIP
port: 80
port: 8080

ingress:
enabled: false
Expand Down

0 comments on commit aba7aac

Please sign in to comment.