Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions helm/snapshots/alpha-1.yaml → helm/snapshots/alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm

---
# Source: cacheppuccino-helm/templates/secret.yaml
apiVersion: v1
Expand All @@ -24,6 +25,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
type: Opaque
stringData:

---
# Source: cacheppuccino-helm/templates/configmap.yaml
apiVersion: v1
Expand All @@ -47,6 +49,7 @@ data:
TRANSLATION_BASE_URL: ""
TRANSLATION_SOURCE: "url"
TRANSLATION_XLSX_URL: "https://example.com/ifrc-go/translations.xlsx"

---
# Source: cacheppuccino-helm/templates/pvc.yaml
apiVersion: v1
Expand All @@ -66,6 +69,7 @@ spec:
resources:
requests:
storage: "512Mi"

---
# Source: cacheppuccino-helm/templates/service.yaml
apiVersion: v1
Expand All @@ -88,6 +92,7 @@ spec:
selector:
app.kubernetes.io/name: cacheppuccino-helm
app.kubernetes.io/instance: release-name

---
# Source: cacheppuccino-helm/templates/deployment.yaml
apiVersion: apps/v1
Expand Down Expand Up @@ -165,6 +170,7 @@ spec:
- name: sqlite
persistentVolumeClaim:
claimName: release-name-cacheppuccino-helm

---
# Source: cacheppuccino-helm/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
Expand All @@ -178,6 +184,7 @@ metadata:
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
ingressClassName: traefik
rules:
- host: "cacheppuccino-alpha-1.ifrc-go.dev.togglecorp.com"
http:
Expand Down
8 changes: 7 additions & 1 deletion helm/snapshots/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
annotations:
azure.workload.identity/client-id: test_id

---
# Source: cacheppuccino-helm/templates/configmap.yaml
apiVersion: v1
Expand All @@ -34,6 +35,7 @@ data:
TRANSLATION_APPLICATION_ID: "18"
TRANSLATION_BASE_URL: "https://ifrc-test-translationapi.azurewebsites.net"
TRANSLATION_SOURCE: "api"

---
# Source: cacheppuccino-helm/templates/pvc.yaml
apiVersion: v1
Expand All @@ -52,6 +54,7 @@ spec:
resources:
requests:
storage: "512Mi"

---
# Source: cacheppuccino-helm/templates/service.yaml
apiVersion: v1
Expand All @@ -74,6 +77,7 @@ spec:
selector:
app.kubernetes.io/name: cacheppuccino-helm
app.kubernetes.io/instance: release-name

---
# Source: cacheppuccino-helm/templates/deployment.yaml
apiVersion: apps/v1
Expand Down Expand Up @@ -161,6 +165,7 @@ spec:
readOnly: true
volumeAttributes:
secretProviderClass: ifrcgo-cacheppuccino-secret-provider

---
# Source: cacheppuccino-helm/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
Expand All @@ -174,7 +179,7 @@ metadata:
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
ingressClassName: nginx
ingressClassName: traefik
rules:
- host: "cacheppuccino-test-prod.ifrc.org"
http:
Expand All @@ -190,6 +195,7 @@ spec:
- secretName: cacheppuccino-helm-secret-cert-test
hosts:
- "cacheppuccino-test-prod.ifrc.org"

---
# Source: cacheppuccino-helm/templates/secret-provider-class.yaml
apiVersion: secrets-store.csi.x-k8s.io/v1
Expand Down
8 changes: 7 additions & 1 deletion helm/snapshots/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
annotations:
azure.workload.identity/client-id: test_id

---
# Source: cacheppuccino-helm/templates/configmap.yaml
apiVersion: v1
Expand All @@ -34,6 +35,7 @@ data:
TRANSLATION_APPLICATION_ID: "18"
TRANSLATION_BASE_URL: "https://ifrc-test-translationapi.azurewebsites.net"
TRANSLATION_SOURCE: "api"

---
# Source: cacheppuccino-helm/templates/pvc.yaml
apiVersion: v1
Expand All @@ -52,6 +54,7 @@ spec:
resources:
requests:
storage: "512Mi"

---
# Source: cacheppuccino-helm/templates/service.yaml
apiVersion: v1
Expand All @@ -74,6 +77,7 @@ spec:
selector:
app.kubernetes.io/name: cacheppuccino-helm
app.kubernetes.io/instance: release-name

---
# Source: cacheppuccino-helm/templates/deployment.yaml
apiVersion: apps/v1
Expand Down Expand Up @@ -161,6 +165,7 @@ spec:
readOnly: true
volumeAttributes:
secretProviderClass: ifrcgo-cacheppuccino-secret-provider

---
# Source: cacheppuccino-helm/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
Expand All @@ -174,7 +179,7 @@ metadata:
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
ingressClassName: nginx
ingressClassName: traefik
rules:
- host: "cacheppuccino-test-stage.ifrc.org"
http:
Expand All @@ -190,6 +195,7 @@ spec:
- secretName: cacheppuccino-helm-secret-cert-test
hosts:
- "cacheppuccino-test-stage.ifrc.org"

---
# Source: cacheppuccino-helm/templates/secret-provider-class.yaml
apiVersion: secrets-store.csi.x-k8s.io/v1
Expand Down
5 changes: 4 additions & 1 deletion helm/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
tests:
alpha-1.yaml: []
alpha.yaml:
- values/traefik.yaml
staging.yaml:
- values/go-deploy.yaml
- values/staging.yaml
- values/traefik.yaml
production.yaml:
- values/go-deploy.yaml
- values/production.yaml
- values/traefik.yaml
File renamed without changes.
1 change: 0 additions & 1 deletion helm/tests/production.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# NOTE: test data for production, using values production.yaml
ingress:
host: cacheppuccino-test-prod.ifrc.org
className: nginx
tls:
enabled: true
secretName: cacheppuccino-helm-secret-cert-test
Expand Down
1 change: 0 additions & 1 deletion helm/tests/staging.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# NOTE: test data for staging, using values staging.yaml
ingress:
host: cacheppuccino-test-stage.ifrc.org
className: nginx
tls:
enabled: true
secretName: cacheppuccino-helm-secret-cert-test
Expand Down
2 changes: 2 additions & 0 deletions helm/values/traefik.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ingress:
className: traefik
Loading