Skip to content

Commit

Permalink
update website chart and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yamader committed Oct 11, 2023
1 parent de852e6 commit f7c9e8b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
3 changes: 2 additions & 1 deletion argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
fishではこうやる:

```fish
helm repo update
helm repo add argo https://argoproj.github.io/argo-helm
helm upgrade -i --create-namespace -n argo-cd argo-cd argo/argo-cd
for crd in "applications.argoproj.io" "applicationsets.argoproj.io" "appprojects.argoproj.io"
kubectl annotate --overwrite crd $crd meta.helm.sh/release-namespace=argo-cd
end
helm install --create-namespace -n argo-cd argo-cd argo/argo-cd
```
3 changes: 2 additions & 1 deletion charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## website

```
% helm repo update
% helm repo add kcctdensan https://kcctdensan.github.io/infrastructure
% helm install --create-namespace -n d3bu d3bu kcctdensan/website
% helm upgrade -i --create-namespace -n kcctdensan kcctdensan kcctdensan/website -f hoge.yaml
```
14 changes: 14 additions & 0 deletions charts/website.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
config:
api_base: https://example.net/hoge

cloudflare-tunnel:
cloudflare:
# cloudflared tunnel login
account: "hogehoge"
# cloudflared tunnel create hoge-fuga-piyo
tunnelName: "hogehoge"
tunnelId: "hogehoge"
secret: "hogehoge"
ingress:
- hostname: d3bu.net
service: http://website.kcctdensan.svc.cluster.local:3000
2 changes: 1 addition & 1 deletion charts/website/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: website
version: 0.2.0
version: 0.3.0
description: 電算部公式ウェブサイト
type: application
dependencies:
Expand Down
5 changes: 2 additions & 3 deletions charts/website/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ replicaCount: 2

image:
repository: ghcr.io/kcctdensan/densan-web
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: latest
tag: ""

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -39,7 +39,6 @@ securityContext: {}
service:
type: ClusterIP
port: 3000
targetPort: 80

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit f7c9e8b

Please sign in to comment.