Skip to content

Commit

Permalink
Merge pull request #39 from Mirantis/templates-fixes
Browse files Browse the repository at this point in the history
Several templates fixes
  • Loading branch information
Kshatrix authored Jun 19, 2024
2 parents 8ce544e + eb7cafd commit 798062d
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 11 deletions.
1 change: 1 addition & 0 deletions templates/aws-hosted-cp/templates/awsmachinetemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ spec:
{{- if .Values.sshKeyName }}
sshKeyName: {{ .Values.sshKeyName }}
{{- end }}
publicIP: {{ .Values.publicIP }}
5 changes: 4 additions & 1 deletion templates/aws-hosted-cp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ clusterNetwork:
vpcID: ""
region: ""
sshKeyName: ""
subnets: []
publicIP: false
subnets:
- id: ""
availabilityZone: ""

# AWS machines parameters
amiID: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ spec:
{{- if .Values.sshKeyName }}
sshKeyName: {{ .Values.sshKeyName }}
{{- end }}
publicIP: {{ .Values.publicIP }}
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ spec:
{{- if .Values.sshKeyName }}
sshKeyName: {{ .Values.sshKeyName }}
{{- end }}
publicIP: {{ .Values.publicIP }}
5 changes: 4 additions & 1 deletion templates/aws-standalone-cp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ clusterNetwork:
vpcID: ""
region: ""
sshKeyName: ""
subnets: []
publicIP: false
subnets:
- id: ""
availabilityZone: ""

controlPlaneLoadBalancer:
additionalSecurityGroups: []
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster-api/templates/crds/clusterclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster-api/templates/crds/clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster-api/templates/crds/machinepools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster-api/templates/crds/machines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster-api/templates/crds/machinesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: capi-system/capi-serving-cert
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "cluster-api.fullname" . }}-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
Expand Down

0 comments on commit 798062d

Please sign in to comment.