Skip to content

Commit

Permalink
Resolve merge conflicts (#1242)
Browse files Browse the repository at this point in the history
Signed-off-by: Njegos Railic <railic.njegos@gmail.com>

Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
  • Loading branch information
njegosrailic and ritazh committed Apr 15, 2021
1 parent 65c3f85 commit 2ea6388
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 76 deletions.
2 changes: 2 additions & 0 deletions cmd/build/helmify/kustomize-for-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Service
metadata:
name: gatekeeper-webhook-service
namespace: gatekeeper-system
spec:
HELMSUBST_SERVICE_TYPE: ""
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down
7 changes: 7 additions & 0 deletions cmd/build/helmify/replacements.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@ var replacements = map[string]string{
{{- end}}`,

"HELMSUBST_PDB_CONTROLLER_MANAGER_MINAVAILABLE": `{{ .Values.pdb.controllerManager.minAvailable }}`,

`HELMSUBST_SERVICE_TYPE: ""`: `{{- if .Values.service }}
type: {{ .Values.service.type | default "ClusterIP" }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- end }}`,
}
77 changes: 39 additions & 38 deletions cmd/build/helmify/static/README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cmd/build/helmify/static/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ audit:
pdb:
controllerManager:
minAvailable: 1
service: {}
77 changes: 39 additions & 38 deletions manifest_staging/charts/gatekeeper/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ metadata:
name: gatekeeper-webhook-service
namespace: '{{ .Release.Namespace }}'
spec:
{{- if .Values.service }}
type: {{ .Values.service.type | default "ClusterIP" }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- end }}
ports:
- port: 443
targetPort: 8443
Expand Down
1 change: 1 addition & 0 deletions manifest_staging/charts/gatekeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ audit:
pdb:
controllerManager:
minAvailable: 1
service: {}

0 comments on commit 2ea6388

Please sign in to comment.