Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Jul 31, 2024
1 parent ad32b27 commit 1ca1b3f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check-generated-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Create ~/.local/bin directory
run: mkdir -p ~/.local/bin
- name: Create directories
run: |
mkdir -p ~/.local/bin
mkdir -p /tmp/shared
chmod 777 /tmp/shared
- name: Create helmfile docker shim
run: |
echo 'docker run --rm -v "/tmp:/tmp" -v "${PWD}:/workdir" --workdir /workdir \
Expand All @@ -25,7 +28,7 @@ jobs:
ENV=$(basename "${ENV_DIR}")
for RELEASE_FILE in "${ENV_DIR}"/*.values.yaml; do
RELEASE=$(basename "${RELEASE_FILE}" .values.yaml)
TMP_VALUES=/tmp_"${ENV}.${RELEASE}".yml
TMP_VALUES=/shared/tmp_"${ENV}.${RELEASE}".yml
echo "checking $RELEASE_FILE - [$ENV] [$RELEASE]"
./bin/generate-values "${ENV}" "${RELEASE}" "${TMP_VALUES}"
diff "${TMP_VALUES}" "${RELEASE_FILE}"
Expand Down
29 changes: 29 additions & 0 deletions k8s/helmfile/$HOME/foo
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
image:
tag: sha-a678a06
ingress:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
nginx.ingress.kubernetes.io/use-regex: "true"
enabled: true
hosts:
- host: www.wbaas.localhost
paths:
- /*
tls: null
podLabels:
sidecar.istio.io/inject: "true"
resources:
limits:
cpu: 10m
memory: 20Mi
requests:
cpu: 1m
memory: 6Mi
ui:
apiUrl: http://api.wbaas.localhost
cnameConfigMapKey: cname_record
configMapName: wbaas-ui-config
recaptchaSitekeySecretKey: site_key
recaptchaSitekeySecretName: recaptcha-v3-secrets
subdomainSuffix: .wbaas.localhost

0 comments on commit 1ca1b3f

Please sign in to comment.