-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provided manifest installation without webhook
- Loading branch information
1 parent
593d523
commit 90a2369
Showing
15 changed files
with
212 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
config/base/kustomization.yaml → config/base-with-webhook/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
namespace: vm | ||
namePrefix: vm- | ||
resources: | ||
- ../default | ||
- ../webhook | ||
- ../certmanager | ||
patches: | ||
- path: manager_webhook_patch.yaml | ||
target: | ||
kind: Deployment | ||
- path: webhookcainjection_patch.yaml | ||
|
||
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix. | ||
# Uncomment the following replacements to add the cert-manager CA injection annotations | ||
# - select: | ||
# kind: MutatingWebhookConfiguration | ||
# fieldPaths: | ||
# - .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
# options: | ||
# delimiter: '/' | ||
# index: 0 | ||
# create: true | ||
# - select: | ||
# kind: MutatingWebhookConfiguration | ||
# fieldPaths: | ||
# - .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
# options: | ||
# delimiter: '/' | ||
# index: 1 | ||
# create: true | ||
replacements: | ||
- source: | ||
fieldPath: .metadata.namespace | ||
group: cert-manager.io | ||
kind: Certificate | ||
name: vm-serving-cert | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
select: | ||
kind: ValidatingWebhookConfiguration | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
select: | ||
kind: CustomResourceDefinition | ||
- source: | ||
fieldPath: .metadata.name | ||
group: cert-manager.io | ||
kind: Certificate | ||
name: vm-serving-cert | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
index: 1 | ||
select: | ||
kind: ValidatingWebhookConfiguration | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
index: 1 | ||
select: | ||
kind: CustomResourceDefinition | ||
- source: | ||
fieldPath: .metadata.name | ||
kind: Service | ||
name: webhook-service | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .spec.dnsNames.0 | ||
- .spec.dnsNames.1 | ||
options: | ||
create: true | ||
delimiter: . | ||
select: | ||
group: cert-manager.io | ||
kind: Certificate | ||
version: v1 | ||
- source: | ||
fieldPath: .metadata.namespace | ||
kind: Service | ||
name: webhook-service | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .spec.dnsNames.0 | ||
- .spec.dnsNames.1 | ||
options: | ||
create: true | ||
delimiter: . | ||
index: 1 | ||
select: | ||
group: cert-manager.io | ||
kind: Certificate | ||
version: v1 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,10 @@ | ||
namespace: vm | ||
namePrefix: vm- | ||
resources: | ||
- ../crd/overlay | ||
- ../rbac | ||
- ../manager | ||
- ../webhook | ||
- ../certmanager | ||
- metrics_service.yaml | ||
patches: | ||
- path: manager_webhook_patch.yaml | ||
target: | ||
kind: Deployment | ||
- path: webhookcainjection_patch.yaml | ||
- path: manager_metrics_patch.yaml | ||
target: | ||
kind: Deployment | ||
|
||
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix. | ||
# Uncomment the following replacements to add the cert-manager CA injection annotations | ||
# - select: | ||
# kind: MutatingWebhookConfiguration | ||
# fieldPaths: | ||
# - .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
# options: | ||
# delimiter: '/' | ||
# index: 0 | ||
# create: true | ||
# - select: | ||
# kind: MutatingWebhookConfiguration | ||
# fieldPaths: | ||
# - .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
# options: | ||
# delimiter: '/' | ||
# index: 1 | ||
# create: true | ||
replacements: | ||
- source: | ||
fieldPath: .metadata.namespace | ||
group: cert-manager.io | ||
kind: Certificate | ||
name: vm-serving-cert | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
select: | ||
kind: ValidatingWebhookConfiguration | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
select: | ||
kind: CustomResourceDefinition | ||
- source: | ||
fieldPath: .metadata.name | ||
group: cert-manager.io | ||
kind: Certificate | ||
name: vm-serving-cert | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
index: 1 | ||
select: | ||
kind: ValidatingWebhookConfiguration | ||
- fieldPaths: | ||
- .metadata.annotations.[cert-manager.io/inject-ca-from] | ||
options: | ||
create: true | ||
delimiter: / | ||
index: 1 | ||
select: | ||
kind: CustomResourceDefinition | ||
- source: | ||
fieldPath: .metadata.name | ||
kind: Service | ||
name: webhook-service | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .spec.dnsNames.0 | ||
- .spec.dnsNames.1 | ||
options: | ||
create: true | ||
delimiter: . | ||
select: | ||
group: cert-manager.io | ||
kind: Certificate | ||
version: v1 | ||
- source: | ||
fieldPath: .metadata.namespace | ||
kind: Service | ||
name: webhook-service | ||
version: v1 | ||
targets: | ||
- fieldPaths: | ||
- .spec.dnsNames.0 | ||
- .spec.dnsNames.1 | ||
options: | ||
create: true | ||
delimiter: . | ||
index: 1 | ||
select: | ||
group: cert-manager.io | ||
kind: Certificate | ||
version: v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
resources: | ||
- ../default | ||
- ../default-with-webhook | ||
|
||
patches: | ||
- target: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
resources: | ||
- manager.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
images: | ||
- name: manager | ||
newName: docker.io/victoriametrics/operator | ||
newTag: heads-master-0-g593d5237-dirty-81d89e27 |
Oops, something went wrong.