Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/subnet #22

Merged
merged 1 commit into from
Feb 24, 2025
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
4 changes: 2 additions & 2 deletions charts/gcp-vpc-network/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: gcp-vpc-network
description: A Helm chart that Creates a Google VPC Network through Config Connector
type: application
version: 0.1.2
appVersion: "0.1.2"
version: 0.1.3
appVersion: "0.1.3"
maintainers:
- name: ilyasabdellaoui
email: ilyas.abdellaoui21@gmail.com
Expand Down
4 changes: 2 additions & 2 deletions charts/gcp-vpc-network/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gcp-vpc-network

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square)

## Prerequisites

Expand Down Expand Up @@ -62,7 +62,7 @@ spec:

source:
repoURL: "https://edixos.github.io/ekp-helm"
targetRevision: "0.1.2"
targetRevision: "0.1.3"
chart: gcp-vpc-network
path: ''

Expand Down
4 changes: 4 additions & 0 deletions charts/gcp-vpc-network/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
If release name contains chart name it will be used as a full name.
*/}}
{{- define "gcp-vpc-network.fullname" -}}
{{- if .Values.name }}
{{- .Values.name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand All @@ -22,6 +25,7 @@ If release name contains chart name it will be used as a full name.
{{- end }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
Expand Down