Skip to content

Commit

Permalink
Set 9102 as default ( and only through annotations ) scraped port for…
Browse files Browse the repository at this point in the history
… statesful set pods)
  • Loading branch information
primeroz authored and bonifaido committed May 16, 2019
1 parent df549ac commit e0852d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/pkg/controller/vault/vault_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ func statefulSetForVault(v *vaultv1alpha1.Vault) (*appsv1.StatefulSet, error) {
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: ls,
Annotations: withVaultAnnotations(v, withPrometheusAnnotations("9091", getCommonAnnotations(v, map[string]string{}))),
Annotations: withVaultAnnotations(v, withPrometheusAnnotations("9102", getCommonAnnotations(v, map[string]string{}))),
},
Spec: corev1.PodSpec{
Affinity: &corev1.Affinity{
Expand Down

0 comments on commit e0852d0

Please sign in to comment.