Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Brice committed Jul 27, 2024
1 parent 56eb6f4 commit c21af74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/oracledb-exporter/templates/config.cue
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ import (
}

env!: [...corev1.#EnvVar] & [
{
corev1.#EnvVar & {
// An Oracle Database connection string for the Go lang driver. https://github.com/iamseth/oracledb_exporter?tab=readme-ov-file#running
name: "DATA_SOURCE_NAME"
} & corev1.#EnvVar
}
]

// Service Monitor optional settings.
endpoints?: smv1.#ServiceMonitorSpec.endpoints

// Pod optional settings.
podAnnotations?: {[string]: string}
podSecurityContext?: corev1.#PodSecurityContext
imagePullSecrets?: [...timoniv1.#ObjectReference]
tolerations?: [...corev1.#Toleration]
affinity?: corev1.#Affinity
topologySpreadConstraints?: [...corev1.#TopologySpreadConstraint]

// Service Monitor optional settings.
endpoints?: smv1.#ServiceMonitorSpec.endpoints
}

// Instance takes the config values and outputs the Kubernetes objects.
Expand Down

0 comments on commit c21af74

Please sign in to comment.