Skip to content

Commit

Permalink
Fix Helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-tincelin committed Nov 16, 2023
1 parent bbf0126 commit 36c9daf
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/howtoaks/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.5
version: 1.0.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/howtoaks/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
imagePullPolicy: {{ .Values.api.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.api.service.port }}
containerPort: 80
protocol: TCP
# volumeMounts:
# - name: {{ .Chart.Name }}-api-secretsstore
Expand Down
2 changes: 1 addition & 1 deletion charts/howtoaks/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.frontend.service.port }}
containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
Expand Down
Binary file modified docs/howtoaks-1.0.5.tgz
Binary file not shown.
Binary file added docs/howtoaks-1.0.6.tgz
Binary file not shown.
26 changes: 18 additions & 8 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,27 @@ entries:
howtoaks:
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:28:35.732004307+01:00"
created: "2023-11-16T21:37:32.698163423+01:00"
description: Deploy the HowToAks application
digest: d994c5ecec1dc86add134737566cb66abc033a788a3149c6aca6aa6cb8a32776
digest: 375522c257770280d2e83f418e403a74b38b4c4675b1a5a02c6576fcd650e37c
name: howtoaks
type: application
urls:
- https://arnaud-tincelin.github.io/aks-demo/howtoaks-1.0.6.tgz
version: 1.0.6
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:37:32.691664061+01:00"
description: Deploy the HowToAks application
digest: f3f971083d63398aacb4b0d30845c771b92ddc7748015b4b77e39bb0763c95e0
name: howtoaks
type: application
urls:
- https://arnaud-tincelin.github.io/aks-demo/howtoaks-1.0.5.tgz
version: 1.0.5
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:28:35.725309047+01:00"
created: "2023-11-16T21:37:32.684339661+01:00"
description: Deploy the HowToAks application
digest: 4450eee26ca48ed56062c5f7da8910925a3d95990c74c3e995922e00dae2dd1f
name: howtoaks
Expand All @@ -23,7 +33,7 @@ entries:
version: 1.0.4
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:28:35.71919103+01:00"
created: "2023-11-16T21:37:32.677113049+01:00"
description: Deploy the HowToAks application
digest: ca0a10650b0fc6d5ed08cbb38ba5dca4c2270ee7675181c18f3166d272280cec
name: howtoaks
Expand All @@ -33,7 +43,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:28:35.71270657+01:00"
created: "2023-11-16T21:37:32.670305382+01:00"
description: Deploy the HowToAks application
digest: ee4f1ee59e58bf6306a54a6de0141066ba3a73d86cc1e56bd5d4759d3535d436
name: howtoaks
Expand All @@ -43,7 +53,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: 1.0.0
created: "2023-11-16T21:28:35.70584474+01:00"
created: "2023-11-16T21:37:32.663373501+01:00"
description: A Helm chart for Kubernetes
digest: 5a54719351b9d0a6f27802bdbc2cbd8a14d035eac1e9edf91b9526aaff5e3212
name: howtoaks
Expand All @@ -54,7 +64,7 @@ entries:
weatherforecast:
- apiVersion: v2
appVersion: 1.17.0
created: "2023-11-16T21:28:35.738730289+01:00"
created: "2023-11-16T21:37:32.705074015+01:00"
description: A Helm chart for Kubernetes
digest: 47d350149d0abdf73d8810c47a9657e5f16635ddcca9cd9e8cd911c1c0797659
home: https://github.com/arnaud-tincelin/aks-demo
Expand All @@ -70,4 +80,4 @@ entries:
urls:
- https://arnaud-tincelin.github.io/aks-demo/weatherforecast-0.1.0.tgz
version: 0.1.0
generated: "2023-11-16T21:28:35.699175422+01:00"
generated: "2023-11-16T21:37:32.65679817+01:00"
2 changes: 1 addition & 1 deletion howtoaks/HowToAKS.Web/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task<IActionResult> Test()
{
var request = new HttpRequestMessage
{
RequestUri = new Uri("http://myapp-howtoaks-api.howtoaks:8080/weatherforecast") // When deploying in the default namespace, then you only use the container/pod name in the dns.
RequestUri = new Uri("http://myapp-howtoaks-api.howtoaks:8081/weatherforecast") // When deploying in the default namespace, then you only use the container/pod name in the dns.
// RequestUri = new Uri("http://howtoaks-webapi.back-end:8081/api/values") // When deploying in custom namespaces, then you must include the namespace in the dns.
};

Expand Down

0 comments on commit 36c9daf

Please sign in to comment.